I got this error while authorizing specific nodes in building a blockchain. It gives me error like this.
error: failed to select a version for `bounded-collections`.
... required by package `sp-core v21.0.0 (https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2f)`
... which satisfies git dependency `sp-core` of package `frame-benchmarking v4.0.0-dev (https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2f)`
... which satisfies git dependency `frame-benchmarking` of package `frame-system-benchmarking v4.0.0-dev (https://github.com/paritytech/substrate.git?branch=polkadot-v1.0.0#948fbd2f)`
... which satisfies git dependency `frame-system-benchmarking` of package `node-template-runtime v4.0.0-dev (/home/ubuntu/substrate-node-template/runtime)`
... which satisfies path dependency `node-template-runtime` (locked to 4.0.0-dev) of package `node-template v4.0.0-dev (/home/ubuntu/substrate-node-template/node)`
versions that meet the requirements `^0.1.8` are: 0.1.8
all possible versions conflict with previously selected packages.
previously selected package `bounded-collections v0.1.6`
... which satisfies dependency `bounded-collections = "^0.1.4"` (locked to 0.1.6) of package `sp-core v7.0.0 (https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#bca8a29d)`
... which satisfies git dependency `sp-core` (locked to 7.0.0) of package `frame-benchmarking v4.0.0-dev (https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#bca8a29d)`
... which satisfies git dependency `frame-benchmarking` (locked to 4.0.0-dev) of package `frame-benchmarking-cli v4.0.0-dev (https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.42#bca8a29d)`
... which satisfies git dependency `frame-benchmarking-cli` (locked to 4.0.0-dev) of package `node-template v4.0.0-dev (/home/ubuntu/substrate-node-template/node)`
failed to select a version for `bounded-collections` which could resolve this conflict
]