[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 try#9d63f825c0d409b0e1743a2c84b33f86965e5929 for pr-136968 [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] validating manifest of git repo https://github.com/pexip/os-rust-inventory on toolchain 9d63f825c0d409b0e1743a2c84b33f86965e5929 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ghost v0.1.6 [INFO] [stderr] Downloaded trybuild v1.0.64 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51daa251f2ac949d65f97a4ac0947020eb751c61eee0e3e04da415a0c71a8d8c [INFO] running `Command { std: "docker" "start" "-a" "51daa251f2ac949d65f97a4ac0947020eb751c61eee0e3e04da415a0c71a8d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51daa251f2ac949d65f97a4ac0947020eb751c61eee0e3e04da415a0c71a8d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51daa251f2ac949d65f97a4ac0947020eb751c61eee0e3e04da415a0c71a8d8c", kill_on_drop: false }` [INFO] [stdout] 51daa251f2ac949d65f97a4ac0947020eb751c61eee0e3e04da415a0c71a8d8c [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9d63f825c0d409b0e1743a2c84b33f86965e5929" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60863e8e258b4fc9ce2260e6d27e759b06b1beb648d83c973a3e7d7da0307cfb [INFO] running `Command { std: "docker" "start" "-a" "60863e8e258b4fc9ce2260e6d27e759b06b1beb648d83c973a3e7d7da0307cfb", 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 serde v1.0.143 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling serde_derive v1.0.143 [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 glob v0.3.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking termcolor v1.1.3 [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 13.20s [INFO] running `Command { std: "docker" "inspect" "60863e8e258b4fc9ce2260e6d27e759b06b1beb648d83c973a3e7d7da0307cfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60863e8e258b4fc9ce2260e6d27e759b06b1beb648d83c973a3e7d7da0307cfb", kill_on_drop: false }` [INFO] [stdout] 60863e8e258b4fc9ce2260e6d27e759b06b1beb648d83c973a3e7d7da0307cfb