[INFO] fetching crate mock_me 0.2.3... [INFO] checking mock_me-0.2.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate mock_me 0.2.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate mock_me 0.2.3 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 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-5/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] warning: library `mock_me` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] da93ece79e21523c6b7fd9bd47a3537d034e3d5af40e2ed9766be5d3d9887bfd [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" "da93ece79e21523c6b7fd9bd47a3537d034e3d5af40e2ed9766be5d3d9887bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da93ece79e21523c6b7fd9bd47a3537d034e3d5af40e2ed9766be5d3d9887bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da93ece79e21523c6b7fd9bd47a3537d034e3d5af40e2ed9766be5d3d9887bfd", kill_on_drop: false }` [INFO] [stdout] da93ece79e21523c6b7fd9bd47a3537d034e3d5af40e2ed9766be5d3d9887bfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 3ccc3cfea6846e304fee64793f85a8fefabc2d6e6d4f0529ce98a4422a641766 [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" "3ccc3cfea6846e304fee64793f85a8fefabc2d6e6d4f0529ce98a4422a641766", kill_on_drop: false }` [INFO] [stderr] warning: library `mock_me` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "3ccc3cfea6846e304fee64793f85a8fefabc2d6e6d4f0529ce98a4422a641766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ccc3cfea6846e304fee64793f85a8fefabc2d6e6d4f0529ce98a4422a641766", kill_on_drop: false }` [INFO] [stdout] 3ccc3cfea6846e304fee64793f85a8fefabc2d6e6d4f0529ce98a4422a641766