[INFO] fetching crate mockers_derive 0.21.0... [INFO] checking mockers_derive-0.21.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate mockers_derive 0.21.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate mockers_derive 0.21.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytecount v0.6.0 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded indoc v0.3.6 [INFO] [stderr] Downloaded rustc-ap-rustc_ast v677.0.0 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded rustc-ap-rustc_session v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_data_structures v677.0.0 [INFO] [stderr] Downloaded annotate-snippets v0.8.0 [INFO] [stderr] Downloaded rustc-ap-rustc_fs_util v677.0.0 [INFO] [stderr] Downloaded globset v0.4.5 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_pretty v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_ast_passes v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_errors v677.0.0 [INFO] [stderr] Downloaded proc-quote v0.2.2 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded rustc-ap-rustc_parse v677.0.0 [INFO] [stderr] Downloaded derive-new v0.5.8 [INFO] [stderr] Downloaded rustc-ap-rustc_serialize v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_expand v677.0.0 [INFO] [stderr] Downloaded unindent v0.1.6 [INFO] [stderr] Downloaded rustc-rayon v0.3.0 [INFO] [stderr] Downloaded indoc-impl v0.3.6 [INFO] [stderr] Downloaded rustc-ap-rustc_lexer v677.0.0 [INFO] [stderr] Downloaded rustc-workspace-hack v1.0.0 [INFO] [stderr] Downloaded structopt v0.3.18 [INFO] [stderr] Downloaded cargo_metadata v0.8.2 [INFO] [stderr] Downloaded termize v0.1.1 [INFO] [stderr] Downloaded proc-quote-impl v0.2.2 [INFO] [stderr] Downloaded rustc-ap-rustc_attr v677.0.0 [INFO] [stderr] Downloaded rustc-ap-rustc_arena v677.0.0 [INFO] [stderr] Downloaded measureme v0.7.1 [INFO] [stderr] Downloaded rustfmt-nightly v1.4.21 [INFO] [stderr] Downloaded rustc-ap-rustc_span v677.0.0 [INFO] [stderr] Downloaded rustfmt-config_proc_macro v0.2.0 [INFO] [stderr] Downloaded rustc-ap-rustc_macros v677.0.0 [INFO] [stderr] Downloaded annotate-snippets v0.6.1 [INFO] [stderr] Downloaded rustc-ap-rustc_feature v677.0.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.11 [INFO] [stderr] Downloaded structopt-derive v0.4.11 [INFO] [stderr] Downloaded rustc-ap-rustc_target v677.0.0 [INFO] [stderr] Downloaded ignore v0.4.16 [INFO] [stderr] Downloaded rustc-ap-rustc_index v677.0.0 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded rustc-ap-rustc_graphviz v677.0.0 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded crossbeam-queue v0.1.2 [INFO] [stderr] Downloaded rustc-rayon-core v0.3.0 [INFO] [stderr] Downloaded psm v0.1.11 [INFO] [stderr] Downloaded stacker v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 606f6749be4c4532d64aa5e3dd32ddc2bb496c80d2e1450f38724190dbd9d6a2 [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" "606f6749be4c4532d64aa5e3dd32ddc2bb496c80d2e1450f38724190dbd9d6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "606f6749be4c4532d64aa5e3dd32ddc2bb496c80d2e1450f38724190dbd9d6a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606f6749be4c4532d64aa5e3dd32ddc2bb496c80d2e1450f38724190dbd9d6a2", kill_on_drop: false }` [INFO] [stdout] 606f6749be4c4532d64aa5e3dd32ddc2bb496c80d2e1450f38724190dbd9d6a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c70c28dcaadc29fbbe64fb3c7ff0864279f749c8b10cfc6e5ab4e2d54aa17e5 [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" "7c70c28dcaadc29fbbe64fb3c7ff0864279f749c8b10cfc6e5ab4e2d54aa17e5", kill_on_drop: false }` [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] Compiling unindent v0.1.6 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking quote v0.6.13 [INFO] [stderr] Compiling proc-quote-impl v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking proc-quote v0.2.2 [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.6 [INFO] [stderr] Checking trybuild v1.0.35 [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" "7c70c28dcaadc29fbbe64fb3c7ff0864279f749c8b10cfc6e5ab4e2d54aa17e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c70c28dcaadc29fbbe64fb3c7ff0864279f749c8b10cfc6e5ab4e2d54aa17e5", kill_on_drop: false }` [INFO] [stdout] 7c70c28dcaadc29fbbe64fb3c7ff0864279f749c8b10cfc6e5ab4e2d54aa17e5