[INFO] fetching crate pallet-mmr 3.0.0... [INFO] testing pallet-mmr-3.0.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate pallet-mmr 3.0.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pallet-mmr 3.0.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pallet-mmr 3.0.0 [INFO] finished tweaking crates.io crate pallet-mmr 3.0.0 [INFO] tweaked toml for crates.io crate pallet-mmr 3.0.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 44252b5b54978e3e92b489e484abd43024b2e7f4a81a3b4ba9ba28793219b008 [INFO] running `Command { std: "docker" "start" "-a" "44252b5b54978e3e92b489e484abd43024b2e7f4a81a3b4ba9ba28793219b008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44252b5b54978e3e92b489e484abd43024b2e7f4a81a3b4ba9ba28793219b008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44252b5b54978e3e92b489e484abd43024b2e7f4a81a3b4ba9ba28793219b008", kill_on_drop: false }` [INFO] [stdout] 44252b5b54978e3e92b489e484abd43024b2e7f4a81a3b4ba9ba28793219b008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3d11db7bbfd086b1acbbe5eb03950fdbd184a8fba16e21c00f8601cc5f0ac52 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b3d11db7bbfd086b1acbbe5eb03950fdbd184a8fba16e21c00f8601cc5f0ac52", kill_on_drop: false }` [INFO] [stderr] Compiling ckb-merkle-mountain-range v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling simba v0.5.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling dyn-clonable v0.9.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling merlin v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling secrecy v0.7.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling substrate-bip39 v0.4.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling frame-support-procedural-tools v3.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v3.0.0 [INFO] [stderr] Compiling sp-api-proc-macro v3.0.0 [INFO] [stderr] Compiling frame-support-procedural v3.0.0 [INFO] [stderr] Compiling nalgebra v0.27.1 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling sp-storage v3.0.0 [INFO] [stderr] Compiling sp-tracing v3.0.0 [INFO] [stderr] Compiling sp-wasm-interface v3.0.0 [INFO] [stderr] Compiling sp-arithmetic v3.0.0 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling sp-externalities v0.9.0 [INFO] [stderr] Compiling parity-util-mem v0.9.0 [INFO] [stderr] Compiling sp-runtime-interface v3.0.0 [INFO] [stderr] Compiling memory-db v0.26.0 [INFO] [stderr] Compiling sp-core v3.0.0 [INFO] [stderr] Compiling sp-trie v3.0.0 [INFO] [stderr] Compiling sp-keystore v0.9.0 [INFO] [stderr] Compiling sp-inherents v3.0.0 [INFO] [stderr] Compiling frame-metadata v13.0.0 [INFO] [stderr] Compiling sp-state-machine v0.9.0 [INFO] [stderr] Compiling sp-io v3.0.0 [INFO] [stderr] Compiling sp-application-crypto v3.0.0 [INFO] [stderr] Compiling sp-runtime v3.0.0 [INFO] [stderr] Compiling statrs v0.15.0 [INFO] [stderr] Compiling linregress v0.4.3 [INFO] [stderr] Compiling sp-version v3.0.0 [INFO] [stderr] Compiling sp-staking v3.0.0 [INFO] [stderr] Compiling frame-support v3.0.0 [INFO] [stderr] Compiling sp-api v3.0.0 [INFO] [stderr] Compiling frame-system v3.0.0 [INFO] [stderr] Compiling frame-benchmarking v3.1.0 [INFO] [stderr] Compiling pallet-mmr-primitives v3.0.0 [INFO] [stderr] Compiling pallet-mmr v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | fn on_initialize(n: T::BlockNumber) -> Weight { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 18s [INFO] running `Command { std: "docker" "inspect" "b3d11db7bbfd086b1acbbe5eb03950fdbd184a8fba16e21c00f8601cc5f0ac52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3d11db7bbfd086b1acbbe5eb03950fdbd184a8fba16e21c00f8601cc5f0ac52", kill_on_drop: false }` [INFO] [stdout] b3d11db7bbfd086b1acbbe5eb03950fdbd184a8fba16e21c00f8601cc5f0ac52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 002cd80e67ac0ac38425b85de940e2cd5b4bef6426272a70d15b2204d4f655b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "002cd80e67ac0ac38425b85de940e2cd5b4bef6426272a70d15b2204d4f655b5", kill_on_drop: false }` [INFO] [stderr] Compiling pallet-mmr v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/lib.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | fn on_initialize(n: T::BlockNumber) -> Weight { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/mmr/utils.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/tests.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/tests.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/tests.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/tests.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/tests.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/tests.rs:263:10 [INFO] [stdout] | [INFO] [stdout] 263 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger` [INFO] [stdout] --> src/tests.rs:287:10 [INFO] [stdout] | [INFO] [stdout] 287 | let _ = env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pallet-mmr` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "002cd80e67ac0ac38425b85de940e2cd5b4bef6426272a70d15b2204d4f655b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "002cd80e67ac0ac38425b85de940e2cd5b4bef6426272a70d15b2204d4f655b5", kill_on_drop: false }` [INFO] [stdout] 002cd80e67ac0ac38425b85de940e2cd5b4bef6426272a70d15b2204d4f655b5