[INFO] fetching crate mock_me 0.2.3... [INFO] checking mock_me-0.2.3 against try#6f12b8fe67b4eed2e838dab803ed9493b9d62c0f for pr-79073 [INFO] extracting crate mock_me 0.2.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate mock_me 0.2.3 on toolchain 6f12b8fe67b4eed2e838dab803ed9493b9d62c0f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mock_me 0.2.3 [INFO] finished tweaking crates.io crate mock_me 0.2.3 [INFO] tweaked toml for crates.io crate mock_me 0.2.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: library `mock_me` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mock_me_test_context v0.1.2 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64ce3c63f2c645ada5a3b1ed0adc4a5dfe770078f66b5dd045938d255f184e07 [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" "64ce3c63f2c645ada5a3b1ed0adc4a5dfe770078f66b5dd045938d255f184e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64ce3c63f2c645ada5a3b1ed0adc4a5dfe770078f66b5dd045938d255f184e07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ce3c63f2c645ada5a3b1ed0adc4a5dfe770078f66b5dd045938d255f184e07", kill_on_drop: false }` [INFO] [stdout] 64ce3c63f2c645ada5a3b1ed0adc4a5dfe770078f66b5dd045938d255f184e07 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+6f12b8fe67b4eed2e838dab803ed9493b9d62c0f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4728261f32fe89968dc3193a1e5039d973d88a4106d47885dc701251e34c89 [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" "8d4728261f32fe89968dc3193a1e5039d973d88a4106d47885dc701251e34c89", kill_on_drop: false }` [INFO] [stderr] warning: library `mock_me` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling mock_me_test_context v0.1.2 [INFO] [stderr] Checking mock_me v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `proc_macro` has been stable since 1.29.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[mock(id_1="external_db_call: fn(u32) -> String", id_2="other_call: fn() -> String")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: `(left == right)` [INFO] [stdout] left: `'i'`, [INFO] [stdout] right: `'('` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[inject(id_1="db_fake", id_2="other_fake")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: `(left == right)` [INFO] [stdout] left: `'i'`, [INFO] [stdout] right: `'('` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[mock(fun="silly_func: fn(f64, f64) -> f64")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: `(left == right)` [INFO] [stdout] left: `'f'`, [INFO] [stdout] right: `'('` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> tests/test.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[inject(fun="replacement_1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: assertion failed: `(left == right)` [INFO] [stdout] left: `'f'`, [INFO] [stdout] right: `'('` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `actual_test2` in this scope [INFO] [stdout] --> tests/test.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / fn actual_test2() { [INFO] [stdout] 19 | | let result = my_super_cool_function(); [INFO] [stdout] 20 | | assert_eq!(result, "I have two results! Faker! and This is indeed a disturbing universe."); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `test_with_silly_func_1` in this scope [INFO] [stdout] --> tests/test.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / fn test_with_silly_func_1() { [INFO] [stdout] 41 | | let result = function_with_fun_id(); [INFO] [stdout] 42 | | assert_eq!(result, 10f64); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mock_me` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8d4728261f32fe89968dc3193a1e5039d973d88a4106d47885dc701251e34c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4728261f32fe89968dc3193a1e5039d973d88a4106d47885dc701251e34c89", kill_on_drop: false }` [INFO] [stdout] 8d4728261f32fe89968dc3193a1e5039d973d88a4106d47885dc701251e34c89