[INFO] fetching crate mockers_derive 0.21.0... [INFO] checking mockers_derive-0.21.0 against beta for pr-78714 [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 beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a8b4627d636df9e482ccd8fb92d670e7d1f1cc9358441321d17a5eef303c3fe [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" "0a8b4627d636df9e482ccd8fb92d670e7d1f1cc9358441321d17a5eef303c3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a8b4627d636df9e482ccd8fb92d670e7d1f1cc9358441321d17a5eef303c3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a8b4627d636df9e482ccd8fb92d670e7d1f1cc9358441321d17a5eef303c3fe", kill_on_drop: false }` [INFO] [stdout] 0a8b4627d636df9e482ccd8fb92d670e7d1f1cc9358441321d17a5eef303c3fe [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e0a9b5f715747ea31340de6de4efe133ef328b344f5e4d99bd82f14be6832ec [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" "9e0a9b5f715747ea31340de6de4efe133ef328b344f5e4d99bd82f14be6832ec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling trybuild v1.0.35 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-quote-impl v0.2.2 [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: 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: 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: 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] [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] running `Command { std: "docker" "inspect" "9e0a9b5f715747ea31340de6de4efe133ef328b344f5e4d99bd82f14be6832ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e0a9b5f715747ea31340de6de4efe133ef328b344f5e4d99bd82f14be6832ec", kill_on_drop: false }` [INFO] [stdout] 9e0a9b5f715747ea31340de6de4efe133ef328b344f5e4d99bd82f14be6832ec