[INFO] fetching crate guilt-by-association 0.5.0... [INFO] checking guilt-by-association-0.5.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate guilt-by-association 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate guilt-by-association 0.5.0 [INFO] finished tweaking crates.io crate guilt-by-association 0.5.0 [INFO] tweaked toml for crates.io crate guilt-by-association 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate guilt-by-association 0.5.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] 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] 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] 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] d975d681cfdeecd8d27718029358aa3f6a2700d5b7151fa162372f0cac17364a [INFO] running `Command { std: "docker" "start" "-a" "d975d681cfdeecd8d27718029358aa3f6a2700d5b7151fa162372f0cac17364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d975d681cfdeecd8d27718029358aa3f6a2700d5b7151fa162372f0cac17364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d975d681cfdeecd8d27718029358aa3f6a2700d5b7151fa162372f0cac17364a", kill_on_drop: false }` [INFO] [stdout] d975d681cfdeecd8d27718029358aa3f6a2700d5b7151fa162372f0cac17364a [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] 0c4012caa70edb07cb4d56269fd103688da3b764f401f1f98f5cdf7bd39cecf4 [INFO] running `Command { std: "docker" "start" "-a" "0c4012caa70edb07cb4d56269fd103688da3b764f401f1f98f5cdf7bd39cecf4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking guilt-by-association v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | guilty!(INTERNAL: ACCESS CONST, (<$structname as $traitname>), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 214 | assert_eq!(guilty!(::FOO), ()); [INFO] [stdout] | -------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | guilty!(INTERNAL: ACCESS CONST, (<$structname as $traitname>), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 215 | assert_eq!(guilty!(::FOO), ()); [INFO] [stdout] | ------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:63:67 [INFO] [stdout] | [INFO] [stdout] 63 | guilty!(INTERNAL: ACCESS CONST, ($structname), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 263 | println!("{} {:?}", guilty!(Struct::WithDefault), guilty!(Struct::NoDefault)); [INFO] [stdout] | ---------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:63:67 [INFO] [stdout] | [INFO] [stdout] 63 | guilty!(INTERNAL: ACCESS CONST, ($structname), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 263 | println!("{} {:?}", guilty!(Struct::WithDefault), guilty!(Struct::NoDefault)); [INFO] [stdout] | -------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:63:67 [INFO] [stdout] | [INFO] [stdout] 63 | guilty!(INTERNAL: ACCESS CONST, ($structname), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 269 | assert_eq!(guilty!(Struct::WithDefault), 42); [INFO] [stdout] | ---------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:63:67 [INFO] [stdout] | [INFO] [stdout] 63 | guilty!(INTERNAL: ACCESS CONST, ($structname), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | assert_eq!(guilty!(Struct::NoDefault), Struct { i: 42 }); [INFO] [stdout] | -------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | guilty!(INTERNAL: ACCESS CONST, (<$structname as $traitname>), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 271 | assert_eq!(guilty!(::WithDefault), 42); [INFO] [stdout] | --------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:59:83 [INFO] [stdout] | [INFO] [stdout] 59 | guilty!(INTERNAL: ACCESS CONST, (<$structname as $traitname>), $constname); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 272 | assert_eq!(guilty!(::NoDefault), Struct { i: 42 }); [INFO] [stdout] | ------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this error originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Empty` is never used [INFO] [stdout] --> src/lib.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | guilty! { trait Empty { } } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `JustFn` is never used [INFO] [stdout] --> src/lib.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | guilty! { trait JustFn { fn foo(&self); } } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `JustType` is never used [INFO] [stdout] --> src/lib.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | guilty! { trait JustType { type Foo; } } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DocFn` is never used [INFO] [stdout] --> src/lib.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | guilty! { trait DocFn { #[doc="bar"] fn foo(&self); } } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DocType` is never used [INFO] [stdout] --> src/lib.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | guilty! { pub(crate) trait DocType { #[doc="bar"] type Foo; } } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `guilty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guilt-by-association` (lib test) due to 16 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c4012caa70edb07cb4d56269fd103688da3b764f401f1f98f5cdf7bd39cecf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4012caa70edb07cb4d56269fd103688da3b764f401f1f98f5cdf7bd39cecf4", kill_on_drop: false }` [INFO] [stdout] 0c4012caa70edb07cb4d56269fd103688da3b764f401f1f98f5cdf7bd39cecf4