[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] checking system76/kicad-allegro against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystem76%2Fkicad-allegro" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/system76/kicad-allegro on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking system76/kicad-allegro against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystem76%2Fkicad-allegro" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/system76/kicad-allegro on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "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 bstr v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e922bef4f40ad4280177adf6aa0e678ab10d17954b8e3196de89fe122641651d [INFO] running `Command { std: "docker" "start" "-a" "e922bef4f40ad4280177adf6aa0e678ab10d17954b8e3196de89fe122641651d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e922bef4f40ad4280177adf6aa0e678ab10d17954b8e3196de89fe122641651d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e922bef4f40ad4280177adf6aa0e678ab10d17954b8e3196de89fe122641651d", kill_on_drop: false }` [INFO] [stdout] e922bef4f40ad4280177adf6aa0e678ab10d17954b8e3196de89fe122641651d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef0aeb79389d6d4858e6e3bf34cb0422861553eeb426bad5a477130c0bc608d6 [INFO] running `Command { std: "docker" "start" "-a" "ef0aeb79389d6d4858e6e3bf34cb0422861553eeb426bad5a477130c0bc608d6", 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 proc-macro2 v0.4.30 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking lazy_static v1.3.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 proc-macro2 v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [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 v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking natord v1.0.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling kicad-allegro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking bstr v0.2.7 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.18.1 [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)]` 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: 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)]` 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: 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-7cae077205ffc993/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)]` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/kicad-allegro-7cae077205ffc993/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)]` 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)]` on by default [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)]` 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)]` 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: multiple fields are never read [INFO] [stdout] --> src/record/shp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShpRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | subclass: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pad_shape_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | graphic_data_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | graphic_data_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | record_tag: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | graphic_data_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | graphic_data_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | graphic_data_3: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | graphic_data_4: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | graphic_data_5: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | graphic_data_6: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | graphic_data_7: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | graphic_data_8: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | graphic_data_9: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pad_stack_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | refdes: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pin_number: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShpRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [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)]` 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: multiple fields are never read [INFO] [stdout] --> src/record/shp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ShpRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | record_kind: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | subclass: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pad_shape_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | graphic_data_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | graphic_data_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | record_tag: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | graphic_data_1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | graphic_data_2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 14 | graphic_data_3: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | graphic_data_4: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | graphic_data_5: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | graphic_data_6: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | graphic_data_7: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | graphic_data_8: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | graphic_data_9: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pad_stack_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | refdes: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 23 | pin_number: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShpRecord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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" "ef0aeb79389d6d4858e6e3bf34cb0422861553eeb426bad5a477130c0bc608d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef0aeb79389d6d4858e6e3bf34cb0422861553eeb426bad5a477130c0bc608d6", kill_on_drop: false }` [INFO] [stdout] ef0aeb79389d6d4858e6e3bf34cb0422861553eeb426bad5a477130c0bc608d6