[INFO] fetching crate mockers_derive 0.21.0... [INFO] checking mockers_derive-0.21.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate mockers_derive 0.21.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate mockers_derive 0.21.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mockers_derive 0.21.0 [INFO] finished tweaking crates.io crate mockers_derive 0.21.0 [INFO] tweaked toml for crates.io crate mockers_derive 0.21.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 3a24a4add5ce10dbc486da54708e1f6b38526ae4a9287fe5e59cb4a1dfffdccb [INFO] running `Command { std: "docker" "start" "-a" "3a24a4add5ce10dbc486da54708e1f6b38526ae4a9287fe5e59cb4a1dfffdccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a24a4add5ce10dbc486da54708e1f6b38526ae4a9287fe5e59cb4a1dfffdccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a24a4add5ce10dbc486da54708e1f6b38526ae4a9287fe5e59cb4a1dfffdccb", kill_on_drop: false }` [INFO] [stdout] 3a24a4add5ce10dbc486da54708e1f6b38526ae4a9287fe5e59cb4a1dfffdccb [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df0e3af525afa488e6d3c40e8557bee8f1ec53743945d06312a6949475a0d686 [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" "df0e3af525afa488e6d3c40e8557bee8f1ec53743945d06312a6949475a0d686", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling proc-quote-impl v0.2.2 [INFO] [stderr] Checking proc-quote v0.2.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking mockers_derive v0.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/codegen.rs:1205:9 [INFO] [stdout] | [INFO] [stdout] 1205 | a => false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/codegen.rs:1205:9 [INFO] [stdout] | [INFO] [stdout] 1205 | a => false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.118 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trybuild v1.0.38 [INFO] [stdout] error[E0432]: unresolved import `mockers` [INFO] [stdout] --> tests/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mockers; [INFO] [stdout] | ^^^^^^^ no external crate `mockers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mockers` in `{{root}}` [INFO] [stdout] --> tests/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[mocked] [INFO] [stdout] | ^^^^^^^^^ could not find `mockers` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mockers` in `{{root}}` [INFO] [stdout] --> tests/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / mock! { [INFO] [stdout] 14 | | BMock, [INFO] [stdout] 15 | | self, [INFO] [stdout] 16 | | trait B { [INFO] [stdout] 17 | | fn bar(&self); [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ could not find `mockers` in `{{root}}` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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 `mockers_derive` [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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/codegen.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static! { [INFO] [stdout] 26 | | //static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 27 | | static ref KNOWN_TRAITS: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 28 | | [INFO] [stdout] ... | [INFO] [stdout] 38 | | static ref REGISTERED_TYPE_ID_GENERATOR: IdGen = IdGen::new(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/codegen.rs:1205:9 [INFO] [stdout] | [INFO] [stdout] 1205 | a => false, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "df0e3af525afa488e6d3c40e8557bee8f1ec53743945d06312a6949475a0d686", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df0e3af525afa488e6d3c40e8557bee8f1ec53743945d06312a6949475a0d686", kill_on_drop: false }` [INFO] [stdout] df0e3af525afa488e6d3c40e8557bee8f1ec53743945d06312a6949475a0d686