[INFO] cloning repository https://github.com/pexip/os-rust-inventory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pexip/os-rust-inventory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 636379f6829ef9a3f9842f61844f0e07be9f9d65 [INFO] building pexip/os-rust-inventory against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pexip/os-rust-inventory [INFO] finished tweaking git repo https://github.com/pexip/os-rust-inventory [INFO] tweaked toml for git repo https://github.com/pexip/os-rust-inventory written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pexip/os-rust-inventory on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pexip/os-rust-inventory 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb72fa1f7723d3115303d518330d6075232734b9cfdce06f87f7a5ea646e4a72 [INFO] running `Command { std: "docker" "start" "-a" "fb72fa1f7723d3115303d518330d6075232734b9cfdce06f87f7a5ea646e4a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb72fa1f7723d3115303d518330d6075232734b9cfdce06f87f7a5ea646e4a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb72fa1f7723d3115303d518330d6075232734b9cfdce06f87f7a5ea646e4a72", kill_on_drop: false }` [INFO] [stdout] fb72fa1f7723d3115303d518330d6075232734b9cfdce06f87f7a5ea646e4a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c5d261494b96da46f9b4d2a342e271cae586fe1db20f8db5f9680aec81cc81a [INFO] running `Command { std: "docker" "start" "-a" "8c5d261494b96da46f9b4d2a342e271cae586fe1db20f8db5f9680aec81cc81a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling ghost v0.1.6 [INFO] [stderr] Compiling inventory v0.3.2 (/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/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 251 | impl IntoIterator for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `IntoIterator` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 261 | impl Deref for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.75s [INFO] running `Command { std: "docker" "inspect" "8c5d261494b96da46f9b4d2a342e271cae586fe1db20f8db5f9680aec81cc81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5d261494b96da46f9b4d2a342e271cae586fe1db20f8db5f9680aec81cc81a", kill_on_drop: false }` [INFO] [stdout] 8c5d261494b96da46f9b4d2a342e271cae586fe1db20f8db5f9680aec81cc81a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79d7ab34cbd72f5c0eca6673b1a55f6cbaf2088bb9b512120cc2ca4168549ab8 [INFO] running `Command { std: "docker" "start" "-a" "79d7ab34cbd72f5c0eca6673b1a55f6cbaf2088bb9b512120cc2ca4168549ab8", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 251 | impl IntoIterator for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `IntoIterator` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 261 | impl Deref for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling inventory v0.3.2 (/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/lib.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 251 | impl IntoIterator for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `IntoIterator` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 241 | const ITER: () = { [INFO] [stdout] | -------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | move the `impl` block outside of this constant `ITER` [INFO] [stdout] ... [INFO] [stdout] 261 | impl Deref for iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-----^^^^^----^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `iter` is not local [INFO] [stdout] | `Deref` is not local [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.78s [INFO] running `Command { std: "docker" "inspect" "79d7ab34cbd72f5c0eca6673b1a55f6cbaf2088bb9b512120cc2ca4168549ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d7ab34cbd72f5c0eca6673b1a55f6cbaf2088bb9b512120cc2ca4168549ab8", kill_on_drop: false }` [INFO] [stdout] 79d7ab34cbd72f5c0eca6673b1a55f6cbaf2088bb9b512120cc2ca4168549ab8