[INFO] fetching crate cni_format 0.6.1... [INFO] checking cni_format-0.6.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate cni_format 0.6.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cni_format 0.6.1 [INFO] finished tweaking crates.io crate cni_format 0.6.1 [INFO] tweaked toml for crates.io crate cni_format 0.6.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cni_format 0.6.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9fe59e864863c5a7e46d73e26354caf3612d7cacbe89451db4d4165afd67523 [INFO] running `Command { std: "docker" "start" "-a" "c9fe59e864863c5a7e46d73e26354caf3612d7cacbe89451db4d4165afd67523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9fe59e864863c5a7e46d73e26354caf3612d7cacbe89451db4d4165afd67523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9fe59e864863c5a7e46d73e26354caf3612d7cacbe89451db4d4165afd67523", kill_on_drop: false }` [INFO] [stdout] c9fe59e864863c5a7e46d73e26354caf3612d7cacbe89451db4d4165afd67523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de2f0d1d152cf6f563b355874afdc37251b9e4766d96c6846ca2ece4524b6fc [INFO] running `Command { std: "docker" "start" "-a" "7de2f0d1d152cf6f563b355874afdc37251b9e4766d96c6846ca2ece4524b6fc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cni_format v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/lib.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | #[must_use = "iterators are lazy and do nothing unless consumed"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | fn walk_tree(self, section: &str) -> SectionFilter; [INFO] [stdout] | ^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | fn walk_tree(self, section: &str) -> SectionFilter<'_, Self::Iter>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | fn walk_leaves(self, section: &str) -> SectionFilter; [INFO] [stdout] | ^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 173 | fn walk_leaves(self, section: &str) -> SectionFilter<'_, Self::Iter>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:297:33 [INFO] [stdout] | [INFO] [stdout] 297 | fn walk_tree(self, section: &str) -> SectionFilter { [INFO] [stdout] | ^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 297 | fn walk_tree(self, section: &str) -> SectionFilter<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/api.rs:306:35 [INFO] [stdout] | [INFO] [stdout] 306 | fn walk_leaves(self, section: &str) -> SectionFilter { [INFO] [stdout] | ^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 306 | fn walk_leaves(self, section: &str) -> SectionFilter<'_, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stdout] error[E0583]: file not found for module `tests` [INFO] [stdout] --> src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs" [INFO] [stdout] = note: if there is a `mod tests` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `serde_json` is unused in crate `cni_format` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use serde_json as _;` to the crate root [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | unused_crate_dependencies, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to provided trait methods [INFO] [stdout] --> src/lib.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | #[must_use = "iterators are lazy and do nothing unless consumed"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cni_format` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7de2f0d1d152cf6f563b355874afdc37251b9e4766d96c6846ca2ece4524b6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de2f0d1d152cf6f563b355874afdc37251b9e4766d96c6846ca2ece4524b6fc", kill_on_drop: false }` [INFO] [stdout] 7de2f0d1d152cf6f563b355874afdc37251b9e4766d96c6846ca2ece4524b6fc