[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] checking pexip/os-rust-inventory against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpexip%2Fos-rust-inventory" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pexip/os-rust-inventory on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded ghost v0.1.6 [INFO] [stderr] Downloaded ctor v0.1.23 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded rustversion v1.0.9 [INFO] [stderr] Downloaded trybuild v1.0.64 [INFO] [stderr] Downloaded serde_json v1.0.83 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded syn v1.0.99 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded serde v1.0.143 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded serde_derive v1.0.143 [INFO] [stderr] Downloaded ryu v1.0.11 [INFO] [stderr] Downloaded toml v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84240a17ef28ed1778dc569b60d96c723f2a6cccaf9585d59527cffdd72acb0d [INFO] running `Command { std: "docker" "start" "-a" "84240a17ef28ed1778dc569b60d96c723f2a6cccaf9585d59527cffdd72acb0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84240a17ef28ed1778dc569b60d96c723f2a6cccaf9585d59527cffdd72acb0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84240a17ef28ed1778dc569b60d96c723f2a6cccaf9585d59527cffdd72acb0d", kill_on_drop: false }` [INFO] [stdout] 84240a17ef28ed1778dc569b60d96c723f2a6cccaf9585d59527cffdd72acb0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f92079ea41b186c1777606851d742f2237f30431eaae6af601debffa09426ff4 [INFO] running `Command { std: "docker" "start" "-a" "f92079ea41b186c1777606851d742f2237f30431eaae6af601debffa09426ff4", 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 serde v1.0.143 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling trybuild v1.0.64 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling ghost v0.1.6 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Checking 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] [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 12.31s [INFO] running `Command { std: "docker" "inspect" "f92079ea41b186c1777606851d742f2237f30431eaae6af601debffa09426ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92079ea41b186c1777606851d742f2237f30431eaae6af601debffa09426ff4", kill_on_drop: false }` [INFO] [stdout] f92079ea41b186c1777606851d742f2237f30431eaae6af601debffa09426ff4