[INFO] cloning repository https://github.com/shakyShane/from_file [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shakyShane/from_file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshakyShane%2Ffrom_file", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshakyShane%2Ffrom_file'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0bbc94f55e2b1142c56051dfde50d0cfa77c532f [INFO] checking shakyShane/from_file against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshakyShane%2Ffrom_file" "/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/shakyShane/from_file on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shakyShane/from_file [INFO] finished tweaking git repo https://github.com/shakyShane/from_file [INFO] tweaked toml for git repo https://github.com/shakyShane/from_file written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shakyShane/from_file 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/from_file_derive/Cargo.toml: unused manifest key: lib.travis-ci [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded serde_yaml v0.8.7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c35467071b34c0133df7cb9beb506faf7b644ac89f4151df7d3235d726985302 [INFO] running `Command { std: "docker" "start" "-a" "c35467071b34c0133df7cb9beb506faf7b644ac89f4151df7d3235d726985302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c35467071b34c0133df7cb9beb506faf7b644ac89f4151df7d3235d726985302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35467071b34c0133df7cb9beb506faf7b644ac89f4151df7d3235d726985302", kill_on_drop: false }` [INFO] [stdout] c35467071b34c0133df7cb9beb506faf7b644ac89f4151df7d3235d726985302 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8838cc1d3c5959f7eed089c0842f537ae5dde4c3839be4af3707c86ed128296d [INFO] running `Command { std: "docker" "start" "-a" "8838cc1d3c5959f7eed089c0842f537ae5dde4c3839be4af3707c86ed128296d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/from_file_derive/Cargo.toml: unused manifest key: lib.travis-ci [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Checking quote v0.6.10 [INFO] [stderr] Checking syn v0.15.22 [INFO] [stderr] Checking from_file_derive v0.1.3 (/opt/rustwide/workdir/from_file_derive) [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking serde_yaml v0.8.7 [INFO] [stderr] Checking from_file v0.1.3 (/opt/rustwide/workdir/from_file) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> from_file/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.85s [INFO] running `Command { std: "docker" "inspect" "8838cc1d3c5959f7eed089c0842f537ae5dde4c3839be4af3707c86ed128296d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8838cc1d3c5959f7eed089c0842f537ae5dde4c3839be4af3707c86ed128296d", kill_on_drop: false }` [INFO] [stdout] 8838cc1d3c5959f7eed089c0842f537ae5dde4c3839be4af3707c86ed128296d [INFO] checking shakyShane/from_file against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FshakyShane%2Ffrom_file" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shakyShane/from_file on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shakyShane/from_file [INFO] finished tweaking git repo https://github.com/shakyShane/from_file [INFO] tweaked toml for git repo https://github.com/shakyShane/from_file written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shakyShane/from_file 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/from_file_derive/Cargo.toml: unused manifest key: lib.travis-ci [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15fa74a451bfe7938b916654caf09caba4a381eec21f19e4dcaa2571ec777567 [INFO] running `Command { std: "docker" "start" "-a" "15fa74a451bfe7938b916654caf09caba4a381eec21f19e4dcaa2571ec777567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15fa74a451bfe7938b916654caf09caba4a381eec21f19e4dcaa2571ec777567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15fa74a451bfe7938b916654caf09caba4a381eec21f19e4dcaa2571ec777567", kill_on_drop: false }` [INFO] [stdout] 15fa74a451bfe7938b916654caf09caba4a381eec21f19e4dcaa2571ec777567 [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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b03b97995bb5520c29126ff2dfa9a53423e7e485297461b28fef75b33dc1e9f1 [INFO] running `Command { std: "docker" "start" "-a" "b03b97995bb5520c29126ff2dfa9a53423e7e485297461b28fef75b33dc1e9f1", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/from_file_derive/Cargo.toml: unused manifest key: lib.travis-ci [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking from_file_derive v0.1.3 (/opt/rustwide/workdir/from_file_derive) [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking serde_yaml v0.8.7 [INFO] [stderr] Checking from_file v0.1.3 (/opt/rustwide/workdir/from_file) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> from_file/src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> from_file/src/lib.rs:272:18 [INFO] [stdout] | [INFO] [stdout] 272 | #[derive(Deserialize, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Person` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `from_file` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> from_file_derive/tests/derive.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, FromFile, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Person` and up 2 bodies [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `from_file_derive` (test "derive") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b03b97995bb5520c29126ff2dfa9a53423e7e485297461b28fef75b33dc1e9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b03b97995bb5520c29126ff2dfa9a53423e7e485297461b28fef75b33dc1e9f1", kill_on_drop: false }` [INFO] [stdout] b03b97995bb5520c29126ff2dfa9a53423e7e485297461b28fef75b33dc1e9f1