[INFO] fetching crate frame-executive 2.0.1... [INFO] checking frame-executive-2.0.1 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate frame-executive 2.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate frame-executive 2.0.1 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate frame-executive 2.0.1 [INFO] finished tweaking crates.io crate frame-executive 2.0.1 [INFO] tweaked toml for crates.io crate frame-executive 2.0.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8b55a0fdf04b65f54df3c5b2a998cee7215787407ce5e7deb474fa0dffe8d1b [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" "d8b55a0fdf04b65f54df3c5b2a998cee7215787407ce5e7deb474fa0dffe8d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8b55a0fdf04b65f54df3c5b2a998cee7215787407ce5e7deb474fa0dffe8d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8b55a0fdf04b65f54df3c5b2a998cee7215787407ce5e7deb474fa0dffe8d1b", kill_on_drop: false }` [INFO] [stdout] d8b55a0fdf04b65f54df3c5b2a998cee7215787407ce5e7deb474fa0dffe8d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 6dcc20f9dc871f82e74dc8e3ad0e14e6d5061b5c58d9095b0f61026355bc37d6 [INFO] running `Command { std: "docker" "start" "-a" "6dcc20f9dc871f82e74dc8e3ad0e14e6d5061b5c58d9095b0f61026355bc37d6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking frame-system v2.0.1 [INFO] [stderr] Checking frame-executive v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/lib.rs:492:6 [INFO] [stdout] | [INFO] [stdout] 492 | use pallet_balances::Call as BalancesCall; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hex_literal` [INFO] [stdout] --> src/lib.rs:493:6 [INFO] [stdout] | [INFO] [stdout] 493 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `hex_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pallet_balances` [INFO] [stdout] --> src/lib.rs:540:6 [INFO] [stdout] | [INFO] [stdout] 540 | use pallet_balances as balances; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no external crate `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/lib.rs:741:18 [INFO] [stdout] | [INFO] [stdout] 741 | state_root: hex!("465a1569d309039bdf84b0479d28064ea29e6584584dc7d788904bb14489c6f6").into(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/lib.rs:742:23 [INFO] [stdout] | [INFO] [stdout] 742 | extrinsics_root: hex!("03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c111314").into(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/lib.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | extrinsics_root: hex!("03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c111314").into(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `hex` [INFO] [stdout] --> src/lib.rs:775:18 [INFO] [stdout] | [INFO] [stdout] 775 | state_root: hex!("49cd58a254ccf6abc4a023d9a22dcfc421e385527a250faec69f8ad0d8ed3e48").into(), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:537:18 [INFO] [stdout] | [INFO] [stdout] 537 | type Balances = pallet_balances::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:595:22 [INFO] [stdout] | [INFO] [stdout] 595 | type AccountData = pallet_balances::AccountData; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:605:7 [INFO] [stdout] | [INFO] [stdout] 605 | impl pallet_balances::Trait for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] --> src/lib.rs:618:7 [INFO] [stdout] | [INFO] [stdout] 618 | impl pallet_transaction_payment::Trait for Runtime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:646:34 [INFO] [stdout] | [INFO] [stdout] 646 | impl frame_support::traits::Get for RuntimeVersion { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:647:15 [INFO] [stdout] | [INFO] [stdout] 647 | fn get() -> sp_version::RuntimeVersion { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:653:50 [INFO] [stdout] | [INFO] [stdout] 653 | pub static RUNTIME_VERSION: std::cell::RefCell = [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] --> src/lib.rs:661:3 [INFO] [stdout] | [INFO] [stdout] 661 | pallet_transaction_payment::ChargeTransactionPayment, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] --> src/lib.rs:692:4 [INFO] [stdout] | [INFO] [stdout] 692 | pallet_transaction_payment::ChargeTransactionPayment::from(fee) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:703:3 [INFO] [stdout] | [INFO] [stdout] 703 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] --> src/lib.rs:709:18 [INFO] [stdout] | [INFO] [stdout] 709 | = ::WeightToFee::calc(&weight); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:721:16 [INFO] [stdout] | [INFO] [stdout] 721 | assert_eq!(>::total_balance(&1), 142 - fee); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:722:16 [INFO] [stdout] | [INFO] [stdout] 722 | assert_eq!(>::total_balance(&2), 69); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:728:3 [INFO] [stdout] | [INFO] [stdout] 728 | pallet_balances::GenesisConfig:: { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:916:6 [INFO] [stdout] | [INFO] [stdout] 916 | as LockableCurrency>::set_lock( [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] --> src/lib.rs:929:18 [INFO] [stdout] | [INFO] [stdout] 929 | ::WeightToFee::calc(&weight); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_transaction_payment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:941:18 [INFO] [stdout] | [INFO] [stdout] 941 | assert_eq!(>::total_balance(&1), 111 - fee); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_balances` [INFO] [stdout] --> src/lib.rs:947:18 [INFO] [stdout] | [INFO] [stdout] 947 | assert_eq!(>::total_balance(&1), 111); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_balances` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:976:47 [INFO] [stdout] | [INFO] [stdout] 976 | RUNTIME_VERSION.with(|v| *v.borrow_mut() = sp_version::RuntimeVersion { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:986:47 [INFO] [stdout] | [INFO] [stdout] 986 | RUNTIME_VERSION.with(|v| *v.borrow_mut() = sp_version::RuntimeVersion { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:997:47 [INFO] [stdout] | [INFO] [stdout] 997 | RUNTIME_VERSION.with(|v| *v.borrow_mut() = sp_version::RuntimeVersion { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:1025:18 [INFO] [stdout] | [INFO] [stdout] 1025 | let current = sp_version::RuntimeVersion { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sp_version` [INFO] [stdout] --> src/lib.rs:1044:47 [INFO] [stdout] | [INFO] [stdout] 1044 | RUNTIME_VERSION.with(|v| *v.borrow_mut() = sp_version::RuntimeVersion { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `sp_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WeightToFeePolynomial` [INFO] [stdout] --> src/lib.rs:488:51 [INFO] [stdout] | [INFO] [stdout] 488 | weights::{Weight, RuntimeDbWeight, IdentityFee, WeightToFeePolynomial}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:359:57 [INFO] [stdout] | [INFO] [stdout] 359 | Err(e) => { let err: &'static str = e.into(); panic!(err) }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 359 | Err(e) => { let err: &'static str = e.into(); panic!("{}", err) }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 359 | Err(e) => { let err: &'static str = e.into(); std::panic::panic_any(err) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `frame-executive` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6dcc20f9dc871f82e74dc8e3ad0e14e6d5061b5c58d9095b0f61026355bc37d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcc20f9dc871f82e74dc8e3ad0e14e6d5061b5c58d9095b0f61026355bc37d6", kill_on_drop: false }` [INFO] [stdout] 6dcc20f9dc871f82e74dc8e3ad0e14e6d5061b5c58d9095b0f61026355bc37d6