[INFO] fetching crate kicad_parse_gen 7.0.2... [INFO] testing kicad_parse_gen-7.0.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kicad_parse_gen 7.0.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate kicad_parse_gen 7.0.2 [INFO] finished tweaking crates.io crate kicad_parse_gen 7.0.2 [INFO] tweaked toml for crates.io crate kicad_parse_gen 7.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kicad_parse_gen 7.0.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding difference v1.0.0 (available: v2.0.0) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding shellexpand v1.1.1 (available: v3.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb2959c3562805c097045e3cfbe4469379fa21a32d560dbf2308019d6875cfaa [INFO] running `Command { std: "docker" "start" "-a" "fb2959c3562805c097045e3cfbe4469379fa21a32d560dbf2308019d6875cfaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb2959c3562805c097045e3cfbe4469379fa21a32d560dbf2308019d6875cfaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2959c3562805c097045e3cfbe4469379fa21a32d560dbf2308019d6875cfaa", kill_on_drop: false }` [INFO] [stdout] fb2959c3562805c097045e3cfbe4469379fa21a32d560dbf2308019d6875cfaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d041abdda05c101b986112b0a55fcf3153ae0293c995a79072aa45baca9a5dc2 [INFO] running `Command { std: "docker" "start" "-a" "d041abdda05c101b986112b0a55fcf3153ae0293c995a79072aa45baca9a5dc2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling symbolic_expressions v5.0.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling shellexpand v1.1.1 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling kicad_parse_gen v7.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/symbol_lib.rs:730:12 [INFO] [stdout] | [INFO] [stdout] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Named` is never used [INFO] [stdout] --> src/footprint/data.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | trait Named { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/footprint/de.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | Thickness(f64), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Part` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Thickness(f64), [INFO] [stdout] 13 + Thickness(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/layout/data.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | for p in &mut self.fill_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 101 - for p in &mut self.fill_segments { [INFO] [stdout] 101 + while let Some(p) = &mut self.fill_segments { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 101 - for p in &mut self.fill_segments { [INFO] [stdout] 101 + if let Some(p) = &mut self.fill_segments { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/layout/data.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | for p in &self.fill_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 116 - for p in &self.fill_segments { [INFO] [stdout] 116 + while let Some(p) = &self.fill_segments { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 116 - for p in &self.fill_segments { [INFO] [stdout] 116 + if let Some(p) = &self.fill_segments { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.03s [INFO] running `Command { std: "docker" "inspect" "d041abdda05c101b986112b0a55fcf3153ae0293c995a79072aa45baca9a5dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d041abdda05c101b986112b0a55fcf3153ae0293c995a79072aa45baca9a5dc2", kill_on_drop: false }` [INFO] [stdout] d041abdda05c101b986112b0a55fcf3153ae0293c995a79072aa45baca9a5dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f54e89bc9f7e5580c1f10b3fb2f3e4ed60ca9b19d1e38998fdd9fb5a3ed2ac7 [INFO] running `Command { std: "docker" "start" "-a" "8f54e89bc9f7e5580c1f10b3fb2f3e4ed60ca9b19d1e38998fdd9fb5a3ed2ac7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/symbol_lib.rs:730:12 [INFO] [stdout] | [INFO] [stdout] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Named` is never used [INFO] [stdout] --> src/footprint/data.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | trait Named { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/footprint/de.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | Thickness(f64), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Part` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Thickness(f64), [INFO] [stdout] 13 + Thickness(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/layout/data.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | for p in &mut self.fill_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 101 - for p in &mut self.fill_segments { [INFO] [stdout] 101 + while let Some(p) = &mut self.fill_segments { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 101 - for p in &mut self.fill_segments { [INFO] [stdout] 101 + if let Some(p) = &mut self.fill_segments { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/layout/data.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | for p in &self.fill_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 116 - for p in &self.fill_segments { [INFO] [stdout] 116 + while let Some(p) = &self.fill_segments { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 116 - for p in &self.fill_segments { [INFO] [stdout] 116 + if let Some(p) = &self.fill_segments { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kicad_parse_gen v7.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/symbol_lib.rs:730:12 [INFO] [stdout] | [INFO] [stdout] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Named` is never used [INFO] [stdout] --> src/footprint/data.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | trait Named { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/footprint/de.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | Thickness(f64), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Part` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Thickness(f64), [INFO] [stdout] 13 + Thickness(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/layout/data.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | for p in &mut self.fill_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 101 - for p in &mut self.fill_segments { [INFO] [stdout] 101 + while let Some(p) = &mut self.fill_segments { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 101 - for p in &mut self.fill_segments { [INFO] [stdout] 101 + if let Some(p) = &mut self.fill_segments { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/layout/data.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | for p in &self.fill_segments { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 116 - for p in &self.fill_segments { [INFO] [stdout] 116 + while let Some(p) = &self.fill_segments { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 116 - for p in &self.fill_segments { [INFO] [stdout] 116 + if let Some(p) = &self.fill_segments { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "8f54e89bc9f7e5580c1f10b3fb2f3e4ed60ca9b19d1e38998fdd9fb5a3ed2ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f54e89bc9f7e5580c1f10b3fb2f3e4ed60ca9b19d1e38998fdd9fb5a3ed2ac7", kill_on_drop: false }` [INFO] [stdout] 8f54e89bc9f7e5580c1f10b3fb2f3e4ed60ca9b19d1e38998fdd9fb5a3ed2ac7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5b1dfdb755917a90f0b12358bfa4585d4b05754e54e077937852ac8f99804f3 [INFO] running `Command { std: "docker" "start" "-a" "e5b1dfdb755917a90f0b12358bfa4585d4b05754e54e077937852ac8f99804f3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/symbol_lib.rs:730:12 [INFO] [stderr] | [INFO] [stderr] 730 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: trait `Named` is never used [INFO] [stderr] --> src/footprint/data.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | trait Named { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/footprint/de.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | Thickness(f64), [INFO] [stderr] | --------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Part` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - Thickness(f64), [INFO] [stderr] 13 + Thickness(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/layout/data.rs:101:18 [INFO] [stderr] | [INFO] [stderr] 101 | for p in &mut self.fill_segments { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 101 - for p in &mut self.fill_segments { [INFO] [stderr] 101 + while let Some(p) = &mut self.fill_segments { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 101 - for p in &mut self.fill_segments { [INFO] [stderr] 101 + if let Some(p) = &mut self.fill_segments { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/layout/data.rs:116:18 [INFO] [stderr] | [INFO] [stderr] 116 | for p in &self.fill_segments { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 116 - for p in &self.fill_segments { [INFO] [stderr] 116 + while let Some(p) = &self.fill_segments { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 116 - for p in &self.fill_segments { [INFO] [stderr] 116 + if let Some(p) = &self.fill_segments { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `kicad_parse_gen` (lib) generated 6 warnings [INFO] [stderr] warning: `kicad_parse_gen` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kicad_parse_gen-280ace1105025927) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test checkfix::tests::test_allowed_1_7_1 ... ok [INFO] [stdout] test footprint::data::test::pad_bound ... ok [INFO] [stdout] test footprint::data::test::pad_bound_180 ... ok [INFO] [stdout] test layout::data::test_is_unnamed_net ... ok [INFO] [stdout] test layout::data::test_unnamed_rename ... ok [INFO] [stdout] test footprint::data::test::bound_fail_cy ... ok [INFO] [stdout] test checkfix::tests::test_allowed_1_7_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/adjust_layout.rs (/opt/rustwide/target/debug/deps/adjust_layout-7330870e1ee236fd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/dump_footprint.rs (/opt/rustwide/target/debug/deps/dump_footprint-9bd40ff9f5ea7c79) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/dump_layout.rs (/opt/rustwide/target/debug/deps/dump_layout-d65f0b69c0a4e93a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/identify.rs (/opt/rustwide/target/debug/deps/identify-969a20907011be7d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/klc_kicad_mod.rs (/opt/rustwide/target/debug/deps/klc_kicad_mod-135dc02980ccccec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/klc_symbol_lib.rs (/opt/rustwide/target/debug/deps/klc_symbol_lib-1fbcf34bc46c2a67) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/footprint1.rs (/opt/rustwide/target/debug/deps/footprint1-9dc6c52db44eecb2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_and_compare ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/footprint2.rs (/opt/rustwide/target/debug/deps/footprint2-0b02c3f14329ff2b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_and_compare ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/fp-lib-table1.rs (/opt/rustwide/target/debug/deps/fp_lib_table1-1e0095ba2cdf4a65) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_and_compare ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/layout1.rs (/opt/rustwide/target/debug/deps/layout1-6d0df9ef501fba32) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_and_compare ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/layout2.rs (/opt/rustwide/target/debug/deps/layout2-a8939aedbb0f56f0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] INFO:layout2: bound: Bound { x1: 99.1875, y1: 99.65, x2: 100.8125, y2: 100.35, is_bounded: true } [INFO] [stdout] test parse_and_compare ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/schematic1.rs (/opt/rustwide/target/debug/deps/schematic1-ba4b62e54c3acd97) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_and_compare ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/symbol_lib1.rs (/opt/rustwide/target/debug/deps/symbol_lib1-5af03330080cf81f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse_and_compare ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kicad_parse_gen [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e5b1dfdb755917a90f0b12358bfa4585d4b05754e54e077937852ac8f99804f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5b1dfdb755917a90f0b12358bfa4585d4b05754e54e077937852ac8f99804f3", kill_on_drop: false }` [INFO] [stdout] e5b1dfdb755917a90f0b12358bfa4585d4b05754e54e077937852ac8f99804f3