[INFO] fetching crate mock_me 0.2.3... [INFO] checking mock_me-0.2.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mock_me 0.2.3 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mock_me 0.2.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: library `mock_me` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 655933e81d1aae7ee640f43c00b69229155c1def4d71730616be00e77a66f001 [INFO] running `Command { std: "docker" "start" "-a" "655933e81d1aae7ee640f43c00b69229155c1def4d71730616be00e77a66f001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "655933e81d1aae7ee640f43c00b69229155c1def4d71730616be00e77a66f001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655933e81d1aae7ee640f43c00b69229155c1def4d71730616be00e77a66f001", kill_on_drop: false }` [INFO] [stdout] 655933e81d1aae7ee640f43c00b69229155c1def4d71730616be00e77a66f001 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f385d740a860073250d9485ee79d752409eb9fbd9f91c7e71defce602d9659a [INFO] running `Command { std: "docker" "start" "-a" "3f385d740a860073250d9485ee79d752409eb9fbd9f91c7e71defce602d9659a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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: 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] 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 `left == right` failed [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 `left == right` failed [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 `left == right` failed [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 `left == right` failed [INFO] [stdout] left: 'f' [INFO] [stdout] right: '(' [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] --> tests/test.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mock_me` (test "test") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3f385d740a860073250d9485ee79d752409eb9fbd9f91c7e71defce602d9659a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f385d740a860073250d9485ee79d752409eb9fbd9f91c7e71defce602d9659a", kill_on_drop: false }` [INFO] [stdout] 3f385d740a860073250d9485ee79d752409eb9fbd9f91c7e71defce602d9659a