[INFO] fetching crate rename 0.1.1... [INFO] checking rename-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rename 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rename 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rename 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rename 0.1.1 [INFO] tweaked toml for crates.io crate rename 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate rename 0.1.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2be805acb7b09aca52b80c32752acb7bdaa5d1f63bfebeb1df40691358f6eef [INFO] running `Command { std: "docker" "start" "-a" "e2be805acb7b09aca52b80c32752acb7bdaa5d1f63bfebeb1df40691358f6eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2be805acb7b09aca52b80c32752acb7bdaa5d1f63bfebeb1df40691358f6eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2be805acb7b09aca52b80c32752acb7bdaa5d1f63bfebeb1df40691358f6eef", kill_on_drop: false }` [INFO] [stdout] e2be805acb7b09aca52b80c32752acb7bdaa5d1f63bfebeb1df40691358f6eef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 631b12ed33b31643af83a759dc844b061d218ce4fd73a23120291fd967e874a1 [INFO] running `Command { std: "docker" "start" "-a" "631b12ed33b31643af83a759dc844b061d218ce4fd73a23120291fd967e874a1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking rename v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rename_derive` [INFO] [stdout] --> tests/tests.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rename_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Test` is defined multiple times [INFO] [stdout] --> examples/macro.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct $name { [INFO] [stdout] | ----------------------- previous definition of the type `Test` here [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) struct $name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `Test` redefined here [INFO] [stdout] ... [INFO] [stdout] 20 | module!(Test); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `Test` must be defined only once in the type namespace of this module [INFO] [stdout] = note: this error originates in the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rename_derive` [INFO] [stdout] --> examples/macro.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rename_derive::rename; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `rename_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rename` in this scope [INFO] [stdout] --> tests/structs/append.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[rename(append = "Append")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `rename` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rename::rename; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rename` in this scope [INFO] [stdout] --> tests/structs/name.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[rename(name = "Name")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `rename` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rename::rename; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rename` in this scope [INFO] [stdout] --> tests/structs/prepend.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[rename(prepend = "Prepend")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `rename` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rename::rename; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rename` in this scope [INFO] [stdout] --> tests/structs/mod.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[rename(name = "Two", prepend = "One", append = "Three")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `rename` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rename::rename; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestData` in this scope [INFO] [stdout] --> examples/macro.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | data: concat_idents!($name, Data), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 20 | module!(Test); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `concat_idents` which comes from the expansion of the macro `module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TestData` in this scope [INFO] [stdout] --> examples/macro.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | data: TestData { one: 1, two: 2 }, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PlaceholderAppend` in this scope [INFO] [stdout] --> tests/structs/append.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let test = PlaceholderAppend { one: 1, two: 2 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Name` in this scope [INFO] [stdout] --> tests/structs/name.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let test = Name { one: 1, two: 2 }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use syn::UseTree::Name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PrependPlaceholder` in this scope [INFO] [stdout] --> tests/structs/prepend.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let test = PrependPlaceholder { one: 1, two: 2 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `OneTwoThree` in this scope [INFO] [stdout] --> tests/structs/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let test = OneTwoThree { one: 1, two: 2 }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0428, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rename` (example "macro") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rename` (test "tests") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "631b12ed33b31643af83a759dc844b061d218ce4fd73a23120291fd967e874a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631b12ed33b31643af83a759dc844b061d218ce4fd73a23120291fd967e874a1", kill_on_drop: false }` [INFO] [stdout] 631b12ed33b31643af83a759dc844b061d218ce4fd73a23120291fd967e874a1