[INFO] fetching crate mockers_derive 0.21.0... [INFO] checking mockers_derive-0.21.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate mockers_derive 0.21.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate mockers_derive 0.21.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-rayon-core v0.3.1 [INFO] [stderr] Downloaded rustc-ap-rustc_macros v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_attr v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_index v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_lexer v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_arena v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_serialize v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_fs_util v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_data_structures v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_feature v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_errors v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_target v677.0.0 [INFO] [stderr] Downloaded annotate-snippets v0.8.0 [INFO] [stderr] Downloaded rustc-ap-rustc_expand v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_pretty v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_parse v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_graphviz v677.0.0 [INFO] [stderr] Downloaded rustfmt-nightly v1.4.21 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_passes v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_session v677.0.0 [INFO] [stderr] Downloaded rustc-rayon v0.3.1 [INFO] [stderr] Downloaded rustc-ap-rustc_span v677.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e65a57176e0b24f6985045ba2a8ced84ab98c0b94692e469b33098e3ca9f5d88 [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" "e65a57176e0b24f6985045ba2a8ced84ab98c0b94692e469b33098e3ca9f5d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e65a57176e0b24f6985045ba2a8ced84ab98c0b94692e469b33098e3ca9f5d88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65a57176e0b24f6985045ba2a8ced84ab98c0b94692e469b33098e3ca9f5d88", kill_on_drop: false }` [INFO] [stdout] e65a57176e0b24f6985045ba2a8ced84ab98c0b94692e469b33098e3ca9f5d88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a6f91d7399cea429c0dafb8b316087c305b28a69a1107336ea27761611aa7d2 [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" "2a6f91d7399cea429c0dafb8b316087c305b28a69a1107336ea27761611aa7d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking proc-macro2 v0.4.30 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-quote-impl v0.2.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling proc-quote v0.2.2 [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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trybuild v1.0.41 [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 crate root [INFO] [stdout] --> tests/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[mocked] [INFO] [stdout] | ^^^^^^^^^ could not find `mockers` in crate 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 crate 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 crate 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" "2a6f91d7399cea429c0dafb8b316087c305b28a69a1107336ea27761611aa7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6f91d7399cea429c0dafb8b316087c305b28a69a1107336ea27761611aa7d2", kill_on_drop: false }` [INFO] [stdout] 2a6f91d7399cea429c0dafb8b316087c305b28a69a1107336ea27761611aa7d2