[INFO] cloning repository https://github.com/Diggsey/macro_regression_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Diggsey/macro_regression_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiggsey%2Fmacro_regression_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiggsey%2Fmacro_regression_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3178dd63efe6e71a3b942b7685bdc30204af60bc [INFO] checking Diggsey/macro_regression_example/3178dd63efe6e71a3b942b7685bdc30204af60bc against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiggsey%2Fmacro_regression_example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Diggsey/macro_regression_example 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 git repo https://github.com/Diggsey/macro_regression_example [INFO] finished tweaking git repo https://github.com/Diggsey/macro_regression_example [INFO] tweaked toml for git repo https://github.com/Diggsey/macro_regression_example written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Diggsey/macro_regression_example 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.3.8 [INFO] [stderr] Downloaded diesel-derive-enum v0.4.3 [INFO] [stderr] Downloaded diesel_derives v1.3.0 [INFO] [stderr] Downloaded heck v0.3.0 [INFO] [stderr] Downloaded quote v0.5.2 [INFO] [stderr] Downloaded unicode-segmentation v1.2.1 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded diesel v1.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 47a1c8c4dc112b63f15bb64c830ab96de07e2ef5bc8499019408f4b2943d5dee [INFO] running `Command { std: "docker" "start" "-a" "47a1c8c4dc112b63f15bb64c830ab96de07e2ef5bc8499019408f4b2943d5dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47a1c8c4dc112b63f15bb64c830ab96de07e2ef5bc8499019408f4b2943d5dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a1c8c4dc112b63f15bb64c830ab96de07e2ef5bc8499019408f4b2943d5dee", kill_on_drop: false }` [INFO] [stdout] 47a1c8c4dc112b63f15bb64c830ab96de07e2ef5bc8499019408f4b2943d5dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 218da004afde98c1a6179011c64750275bcb6c8466591371c1f3e436f5cac82e [INFO] running `Command { std: "docker" "start" "-a" "218da004afde98c1a6179011c64750275bcb6c8466591371c1f3e436f5cac82e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling diesel-derive-enum v0.4.3 [INFO] [stderr] Compiling diesel_derives v1.3.0 [INFO] [stderr] Checking diesel v1.3.3 [INFO] [stderr] Checking macro_regression v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `TestEnum` in this scope [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(DbEnum, Debug)] [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum: [INFO] [stdout] TestEnum [INFO] [stdout] = note: this error originates in the derive macro `DbEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestEnum` in this scope [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(DbEnum, Debug)] [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum: [INFO] [stdout] TestEnum [INFO] [stdout] = note: this error originates in the derive macro `DbEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestEnum` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(DbEnum, Debug)] [INFO] [stdout] | ^^^^^^ use of undeclared type `TestEnum` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum: [INFO] [stdout] TestEnum [INFO] [stdout] = note: this error originates in the derive macro `DbEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestEnum` [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(DbEnum, Debug)] [INFO] [stdout] | ^^^^^^ use of undeclared type `TestEnum` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this enum: [INFO] [stdout] TestEnum [INFO] [stdout] = note: this error originates in the derive macro `DbEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `TestEnum` in this scope [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(DbEnum, Debug)] [INFO] [stdout] | ^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = note: this error originates in the derive macro `DbEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find type `TestEnum` in this scope [INFO] [stdout] --> src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(DbEnum, Debug)] [INFO] [stdout] | ^^^^^^ names from parent modules are not accessible without an explicit import [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #83583 [INFO] [stdout] = note: `#[deny(proc_macro_derive_resolution_fallback)]` on by default [INFO] [stdout] = note: this error originates in the derive macro `DbEnum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `macro_regression` (bin "macro_regression") due to 14 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `macro_regression` (bin "macro_regression" test) due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "218da004afde98c1a6179011c64750275bcb6c8466591371c1f3e436f5cac82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218da004afde98c1a6179011c64750275bcb6c8466591371c1f3e436f5cac82e", kill_on_drop: false }` [INFO] [stdout] 218da004afde98c1a6179011c64750275bcb6c8466591371c1f3e436f5cac82e