[INFO] cloning repository https://github.com/Marwes/rustfix_error [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Marwes/rustfix_error" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarwes%2Frustfix_error", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarwes%2Frustfix_error'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d25abfc81f22faac46adb6239569010a5175383f [INFO] checking Marwes/rustfix_error against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarwes%2Frustfix_error" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Marwes/rustfix_error [INFO] finished tweaking git repo https://github.com/Marwes/rustfix_error [INFO] tweaked toml for git repo https://github.com/Marwes/rustfix_error written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Marwes/rustfix_error on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Marwes/rustfix_error 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded serde v1.0.81 [INFO] [stderr] Downloaded serde_derive_state v0.4.4 [INFO] [stderr] Downloaded serde_state v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5fea4c7b52ebfc9c7099e15bb2e1b2c848ba9ce08cf2e8ed8509c59c12ac91b [INFO] running `Command { std: "docker" "start" "-a" "b5fea4c7b52ebfc9c7099e15bb2e1b2c848ba9ce08cf2e8ed8509c59c12ac91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5fea4c7b52ebfc9c7099e15bb2e1b2c848ba9ce08cf2e8ed8509c59c12ac91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fea4c7b52ebfc9c7099e15bb2e1b2c848ba9ce08cf2e8ed8509c59c12ac91b", kill_on_drop: false }` [INFO] [stdout] b5fea4c7b52ebfc9c7099e15bb2e1b2c848ba9ce08cf2e8ed8509c59c12ac91b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fb59ad482067e936bd5a8632022440cddcc4dff60e6ba80f33e2b3556359fb8 [INFO] running `Command { std: "docker" "start" "-a" "6fb59ad482067e936bd5a8632022440cddcc4dff60e6ba80f33e2b3556359fb8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling serde_derive_state v0.4.4 [INFO] [stderr] Checking serde_state v0.4.4 [INFO] [stderr] Checking rustfix_error v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SerializeState)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SerializeState` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Test` [INFO] [stdout] 6 | #[serde(serialize_state = "::Test")] [INFO] [stdout] | -------- `Test` is not local [INFO] [stdout] 7 | struct Test { [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SerializeState` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SerializeState` may come from an old version of the `serde_derive_state` crate, try updating your dependency with `cargo update -p serde_derive_state` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `SerializeState` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(SerializeState)] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `SerializeState` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Test` [INFO] [stdout] 6 | #[serde(serialize_state = "::Test")] [INFO] [stdout] | -------- `Test` is not local [INFO] [stdout] 7 | struct Test { [INFO] [stdout] | ---- `Test` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `SerializeState` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `SerializeState` may come from an old version of the `serde_derive_state` crate, try updating your dependency with `cargo update -p serde_derive_state` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `SerializeState` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6fb59ad482067e936bd5a8632022440cddcc4dff60e6ba80f33e2b3556359fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb59ad482067e936bd5a8632022440cddcc4dff60e6ba80f33e2b3556359fb8", kill_on_drop: false }` [INFO] [stdout] 6fb59ad482067e936bd5a8632022440cddcc4dff60e6ba80f33e2b3556359fb8