[INFO] fetching crate macro_magic 0.6.0... [INFO] checking macro_magic-0.6.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate macro_magic 0.6.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate macro_magic 0.6.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate macro_magic 0.6.0 [INFO] tweaked toml for crates.io crate macro_magic 0.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate macro_magic 0.6.0 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] crate crates.io crate macro_magic 0.6.0 already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a4da9305a0872404447306d2c869f3877a127893f11b639bf3768f25a4bbfc59 [INFO] running `Command { std: "docker" "start" "-a" "a4da9305a0872404447306d2c869f3877a127893f11b639bf3768f25a4bbfc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4da9305a0872404447306d2c869f3877a127893f11b639bf3768f25a4bbfc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4da9305a0872404447306d2c869f3877a127893f11b639bf3768f25a4bbfc59", kill_on_drop: false }` [INFO] [stdout] a4da9305a0872404447306d2c869f3877a127893f11b639bf3768f25a4bbfc59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 56e0ed66837fedd4acc8fb0c799a64a161ba3d7bb09addaf8e6d9e4ca0459ba3 [INFO] running `Command { std: "docker" "start" "-a" "56e0ed66837fedd4acc8fb0c799a64a161ba3d7bb09addaf8e6d9e4ca0459ba3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.6.0 [INFO] [stderr] Compiling macro_magic_core v0.6.0 [INFO] [stderr] Compiling macro_magic_macros v0.6.0 [INFO] [stderr] Checking macro_magic v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_macros::{custom_export_tokens, include_impl, include_impl_inner}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use test_macros::combine_structs; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use test_macros::emit_foreign_path; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use test_macros::example_tokens_proc; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use test_macros::import_tokens_attr_with_custom_parsing_a; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use test_macros::import_tokens_attr_with_custom_parsing_b; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use test_macros::item_level_proc; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use test_macros::require; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use test_macros::test_tokens_attr1; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use test_macros::test_tokens_attr2; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_macros` [INFO] [stdout] --> tests/tests.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub use test_macros::test_tokens_attr_direct_import; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_macros`, use `cargo add test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SomeInjectedStruct` in this scope [INFO] [stdout] --> tests/tests.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | let _foo = SomeInjectedStruct {}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `emitted_path` in this scope [INFO] [stdout] --> tests/tests.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(emitted_path, "external_crate :: an_external_function"); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `foreign_item_str` in this scope [INFO] [stdout] --> tests/tests.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | foreign_item_str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `an_external_function` in this scope [INFO] [stdout] --> tests/tests.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(an_external_function(4), 37); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `LocalStruct` has no field named `foo` [INFO] [stdout] --> tests/tests.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | foo: 42, [INFO] [stdout] | ^^^ `LocalStruct` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `LocalStruct` has no field named `bar` [INFO] [stdout] --> tests/tests.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | bar: 19, [INFO] [stdout] | ^^^ `LocalStruct` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `LocalStruct` has no field named `fizz` [INFO] [stdout] --> tests/tests.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | fizz: -22, [INFO] [stdout] | ^^^^ `LocalStruct` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `my_cool_function` in this scope [INFO] [stdout] --> tests/tests.rs:236:16 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(my_cool_function(), 567); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `macro_magic` (test "tests") due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "56e0ed66837fedd4acc8fb0c799a64a161ba3d7bb09addaf8e6d9e4ca0459ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e0ed66837fedd4acc8fb0c799a64a161ba3d7bb09addaf8e6d9e4ca0459ba3", kill_on_drop: false }` [INFO] [stdout] 56e0ed66837fedd4acc8fb0c799a64a161ba3d7bb09addaf8e6d9e4ca0459ba3