[INFO] cloning repository https://github.com/calebx/potato-quant [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/calebx/potato-quant" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebx%2Fpotato-quant", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebx%2Fpotato-quant'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06facb692bd10650259e184f230ba5c0bd5470a2 [INFO] checking calebx/potato-quant against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebx%2Fpotato-quant" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/calebx/potato-quant 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/calebx/potato-quant [INFO] finished tweaking git repo https://github.com/calebx/potato-quant [INFO] tweaked toml for git repo https://github.com/calebx/potato-quant written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/calebx/potato-quant 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] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9129d5af687dd9ded09a23628bf81befc19255b2c221eddd7e1d410b84d5e267 [INFO] running `Command { std: "docker" "start" "-a" "9129d5af687dd9ded09a23628bf81befc19255b2c221eddd7e1d410b84d5e267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9129d5af687dd9ded09a23628bf81befc19255b2c221eddd7e1d410b84d5e267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9129d5af687dd9ded09a23628bf81befc19255b2c221eddd7e1d410b84d5e267", kill_on_drop: false }` [INFO] [stdout] 9129d5af687dd9ded09a23628bf81befc19255b2c221eddd7e1d410b84d5e267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] efcdbb623370a1cec45ddd6f13f1e603eedce3011af2b776cf2b29fabf6b6ada [INFO] running `Command { std: "docker" "start" "-a" "efcdbb623370a1cec45ddd6f13f1e603eedce3011af2b776cf2b29fabf6b6ada", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking potato v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `debug` and `redis_path` are never read [INFO] [stdout] --> src/boot/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | #[serde(default = "default_config_debug")] [INFO] [stdout] 14 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | redis_path: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debug` and `redis_path` are never read [INFO] [stdout] --> src/boot/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | #[serde(default = "default_config_debug")] [INFO] [stdout] 14 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | redis_path: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.86s [INFO] running `Command { std: "docker" "inspect" "efcdbb623370a1cec45ddd6f13f1e603eedce3011af2b776cf2b29fabf6b6ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efcdbb623370a1cec45ddd6f13f1e603eedce3011af2b776cf2b29fabf6b6ada", kill_on_drop: false }` [INFO] [stdout] efcdbb623370a1cec45ddd6f13f1e603eedce3011af2b776cf2b29fabf6b6ada [INFO] checking calebx/potato-quant against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcalebx%2Fpotato-quant" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/calebx/potato-quant 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/calebx/potato-quant [INFO] finished tweaking git repo https://github.com/calebx/potato-quant [INFO] tweaked toml for git repo https://github.com/calebx/potato-quant written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/calebx/potato-quant 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 95c457b17d879a8c3d0838605b0128100173dae4d0bb4f0d9ebbcaf30f0ce5a2 [INFO] running `Command { std: "docker" "start" "-a" "95c457b17d879a8c3d0838605b0128100173dae4d0bb4f0d9ebbcaf30f0ce5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95c457b17d879a8c3d0838605b0128100173dae4d0bb4f0d9ebbcaf30f0ce5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95c457b17d879a8c3d0838605b0128100173dae4d0bb4f0d9ebbcaf30f0ce5a2", kill_on_drop: false }` [INFO] [stdout] 95c457b17d879a8c3d0838605b0128100173dae4d0bb4f0d9ebbcaf30f0ce5a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b31375a2db0860bac891012e1cd74c9ecf32cf6ef55ec4e282726ce132c803d3 [INFO] running `Command { std: "docker" "start" "-a" "b31375a2db0860bac891012e1cd74c9ecf32cf6ef55ec4e282726ce132c803d3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking potato v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `debug` and `redis_path` are never read [INFO] [stdout] --> src/boot/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | #[serde(default = "default_config_debug")] [INFO] [stdout] 14 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | redis_path: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/boot/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [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] warning: fields `debug` and `redis_path` are never read [INFO] [stdout] --> src/boot/config.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | #[serde(default = "default_config_debug")] [INFO] [stdout] 14 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | redis_path: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/boot/config.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Config` [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `potato` (bin "potato" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `potato` (bin "potato") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b31375a2db0860bac891012e1cd74c9ecf32cf6ef55ec4e282726ce132c803d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b31375a2db0860bac891012e1cd74c9ecf32cf6ef55ec4e282726ce132c803d3", kill_on_drop: false }` [INFO] [stdout] b31375a2db0860bac891012e1cd74c9ecf32cf6ef55ec4e282726ce132c803d3