[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#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [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 d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58418fdbbe50d7957b3669220f59ae4a9215f89f320e58f362a80d8453ca1cb2 [INFO] running `Command { std: "docker" "start" "-a" "58418fdbbe50d7957b3669220f59ae4a9215f89f320e58f362a80d8453ca1cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58418fdbbe50d7957b3669220f59ae4a9215f89f320e58f362a80d8453ca1cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58418fdbbe50d7957b3669220f59ae4a9215f89f320e58f362a80d8453ca1cb2", kill_on_drop: false }` [INFO] [stdout] 58418fdbbe50d7957b3669220f59ae4a9215f89f320e58f362a80d8453ca1cb2 [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9e088a59a4cb6e18e4d2916fdce6897d245bdd45c6e9a87d94545fad2199d37 [INFO] running `Command { std: "docker" "start" "-a" "a9e088a59a4cb6e18e4d2916fdce6897d245bdd45c6e9a87d94545fad2199d37", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [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.81s [INFO] running `Command { std: "docker" "inspect" "a9e088a59a4cb6e18e4d2916fdce6897d245bdd45c6e9a87d94545fad2199d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e088a59a4cb6e18e4d2916fdce6897d245bdd45c6e9a87d94545fad2199d37", kill_on_drop: false }` [INFO] [stdout] a9e088a59a4cb6e18e4d2916fdce6897d245bdd45c6e9a87d94545fad2199d37 [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3871a434ea7999a8ce2154ba8e32b19d4730d25dd3a9d595f9cd63e7b85e4dc4 [INFO] running `Command { std: "docker" "start" "-a" "3871a434ea7999a8ce2154ba8e32b19d4730d25dd3a9d595f9cd63e7b85e4dc4", 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 ryu v1.0.11 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling termcolor v1.1.3 [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 16.35s [INFO] running `Command { std: "docker" "inspect" "3871a434ea7999a8ce2154ba8e32b19d4730d25dd3a9d595f9cd63e7b85e4dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3871a434ea7999a8ce2154ba8e32b19d4730d25dd3a9d595f9cd63e7b85e4dc4", kill_on_drop: false }` [INFO] [stdout] 3871a434ea7999a8ce2154ba8e32b19d4730d25dd3a9d595f9cd63e7b85e4dc4