[INFO] cloning repository https://github.com/system76/kicad-allegro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/system76/kicad-allegro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystem76%2Fkicad-allegro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystem76%2Fkicad-allegro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4968f1301a1ec189ee34135f528a7d7a27e76a7b [INFO] testing system76/kicad-allegro against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystem76%2Fkicad-allegro" "/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/system76/kicad-allegro [INFO] finished tweaking git repo https://github.com/system76/kicad-allegro [INFO] tweaked toml for git repo https://github.com/system76/kicad-allegro written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/system76/kicad-allegro on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/system76/kicad-allegro 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" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 067529c39e5f86947fc9608452f49c5569604425291434dc4f8c559f22e4fb7c [INFO] running `Command { std: "docker" "start" "-a" "067529c39e5f86947fc9608452f49c5569604425291434dc4f8c559f22e4fb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "067529c39e5f86947fc9608452f49c5569604425291434dc4f8c559f22e4fb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067529c39e5f86947fc9608452f49c5569604425291434dc4f8c559f22e4fb7c", kill_on_drop: false }` [INFO] [stdout] 067529c39e5f86947fc9608452f49c5569604425291434dc4f8c559f22e4fb7c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b58569a178d695ea8437c794e6bd49af62977c5d440a9282daf209351184bd83 [INFO] running `Command { std: "docker" "start" "-a" "b58569a178d695ea8437c794e6bd49af62977c5d440a9282daf209351184bd83", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling natord v1.0.9 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling kicad-allegro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rusttype v0.7.7 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling bstr v0.2.7 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/brd.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/rte.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::shp::ShpRecord` [INFO] [stdout] --> src/record/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::shp::ShpRecord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/shp.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/sym.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/mod.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | let mut vb = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/mod.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let mut vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/kicad-allegro-e359dacf7541bf3f/out/test_gl_bindings.rs:1205:47 [INFO] [stdout] | [INFO] [stdout] 1205 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1205 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 351 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 352 | [INFO] [stdout] 353 | let mut events_loop = glutin::EventsLoop::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/record/brd.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BrdRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | pub layer_sort: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub layer_subclass: String, [INFO] [stdout] 9 | pub layer_artwork: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub layer_use: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub layer_conductor: String, [INFO] [stdout] 12 | pub layer_dielectric_constant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub layer_electrical_conductivity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub layer_material: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub layer_shield_layer: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub layer_thermal_conductivity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub layer_thickness: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrdRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/record/rte.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RteRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | pub record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub net_name: String, [INFO] [stdout] 10 | pub pin_number_sort: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub class: String, [INFO] [stdout] 12 | pub refdes: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub sym_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub sym_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub sym_x: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub sym_y: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub sym_rotate: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub sym_mirror: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub pin_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub pin_number: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub pin_edited: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub pad_stack_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub via_mirror: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub pin_rotation: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub test_point: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub net_probe_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RteRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShpRecord` is never constructed [INFO] [stdout] --> src/record/shp.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShpRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/record/sym.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SymRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub sym_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub sym_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub refdes_sort: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub refdes: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub sym_x: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub sym_y: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub sym_rotate: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub sym_mirror: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub net_name_sort: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub record_tag: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub graphic_data_name: String, [INFO] [stdout] 24 | pub graphic_data_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub graphic_data_6: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub graphic_data_7: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub graphic_data_8: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub graphic_data_9: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub graphic_data_10: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub comp_device_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub comp_package: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | pub comp_part_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub comp_value: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `angle`, `dot`, `length_squared`, `length`, and `norm` are never used [INFO] [stdout] --> src/vec.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec2 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn angle(self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn length_squared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn norm(self) -> Self { [INFO] [stdout] | ^^^^ [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/record/brd.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BrdRecord` [INFO] [stdout] 4 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 5 | pub struct BrdRecord { [INFO] [stdout] | --------- `BrdRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record/rte.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RteRecord` [INFO] [stdout] 6 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 7 | pub struct RteRecord { [INFO] [stdout] | --------- `RteRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record/shp.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ShpRecord` [INFO] [stdout] 4 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 5 | pub struct ShpRecord { [INFO] [stdout] | --------- `ShpRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record/sym.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SymRecord` [INFO] [stdout] 7 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 8 | pub struct SymRecord { [INFO] [stdout] | --------- `SymRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/support/mod.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let mut vb = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/support/mod.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let mut vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b58569a178d695ea8437c794e6bd49af62977c5d440a9282daf209351184bd83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b58569a178d695ea8437c794e6bd49af62977c5d440a9282daf209351184bd83", kill_on_drop: false }` [INFO] [stdout] b58569a178d695ea8437c794e6bd49af62977c5d440a9282daf209351184bd83 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 260e65c37252a1adb6a43f7719f6625e7c5d599f136ae088588b1486c94afe28 [INFO] running `Command { std: "docker" "start" "-a" "260e65c37252a1adb6a43f7719f6625e7c5d599f136ae088588b1486c94afe28", kill_on_drop: false }` [INFO] [stderr] Compiling kicad-allegro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `support` [INFO] [stdout] --> examples/glutin.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod support; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `support`, create file "examples/support.rs" or "examples/support/mod.rs" [INFO] [stdout] = note: if there is a `mod support` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kicad-allegro` (example "glutin") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/brd.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/rte.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::shp::ShpRecord` [INFO] [stdout] --> src/record/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use self::shp::ShpRecord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/shp.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/record/sym.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/mod.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | let mut vb = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/support/mod.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | let mut vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/kicad-allegro-e359dacf7541bf3f/out/test_gl_bindings.rs:1205:47 [INFO] [stdout] | [INFO] [stdout] 1205 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1205 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 351 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 352 | [INFO] [stdout] 353 | let mut events_loop = glutin::EventsLoop::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/record/brd.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BrdRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | pub layer_sort: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | pub layer_subclass: String, [INFO] [stdout] 9 | pub layer_artwork: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub layer_use: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub layer_conductor: String, [INFO] [stdout] 12 | pub layer_dielectric_constant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub layer_electrical_conductivity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub layer_material: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub layer_shield_layer: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub layer_thermal_conductivity: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub layer_thickness: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrdRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/record/rte.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RteRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | pub record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub net_name: String, [INFO] [stdout] 10 | pub pin_number_sort: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub class: String, [INFO] [stdout] 12 | pub refdes: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub sym_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | pub sym_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub sym_x: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub sym_y: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub sym_rotate: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub sym_mirror: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub pin_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub pin_number: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub pin_edited: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub pad_stack_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub via_mirror: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub pin_rotation: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 29 | pub test_point: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub net_probe_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RteRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShpRecord` is never constructed [INFO] [stdout] --> src/record/shp.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShpRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/record/sym.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SymRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub sym_type: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | pub sym_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub refdes_sort: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 13 | pub refdes: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | pub sym_x: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub sym_y: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pub sym_rotate: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | pub sym_mirror: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 18 | pub net_name_sort: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub record_tag: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub graphic_data_name: String, [INFO] [stdout] 24 | pub graphic_data_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub graphic_data_6: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub graphic_data_7: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub graphic_data_8: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub graphic_data_9: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 34 | pub graphic_data_10: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub comp_device_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub comp_package: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | pub comp_part_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub comp_value: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `angle`, `dot`, `length_squared`, `length`, and `norm` are never used [INFO] [stdout] --> src/vec.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec2 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn angle(self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn length_squared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn norm(self) -> Self { [INFO] [stdout] | ^^^^ [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/record/brd.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BrdRecord` [INFO] [stdout] 4 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 5 | pub struct BrdRecord { [INFO] [stdout] | --------- `BrdRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record/rte.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RteRecord` [INFO] [stdout] 6 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 7 | pub struct RteRecord { [INFO] [stdout] | --------- `RteRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record/shp.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ShpRecord` [INFO] [stdout] 4 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 5 | pub struct ShpRecord { [INFO] [stdout] | --------- `ShpRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [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/record/sym.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_SymRecord` [INFO] [stdout] 7 | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] 8 | pub struct SymRecord { [INFO] [stdout] | --------- `SymRecord` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/support/mod.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let mut vb = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/support/mod.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let mut vao = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "260e65c37252a1adb6a43f7719f6625e7c5d599f136ae088588b1486c94afe28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "260e65c37252a1adb6a43f7719f6625e7c5d599f136ae088588b1486c94afe28", kill_on_drop: false }` [INFO] [stdout] 260e65c37252a1adb6a43f7719f6625e7c5d599f136ae088588b1486c94afe28