[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystem76%2Fkicad-allegro" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/system76/kicad-allegro on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 782b881e970ceb378e35bc1a002fd78ccafcece66513cd6ea18c8363aae8c8b0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "782b881e970ceb378e35bc1a002fd78ccafcece66513cd6ea18c8363aae8c8b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "782b881e970ceb378e35bc1a002fd78ccafcece66513cd6ea18c8363aae8c8b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782b881e970ceb378e35bc1a002fd78ccafcece66513cd6ea18c8363aae8c8b0", kill_on_drop: false }` [INFO] [stdout] 782b881e970ceb378e35bc1a002fd78ccafcece66513cd6ea18c8363aae8c8b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 830f6d295246855561e81c62e029763692020d519a6a9eadc7f8dac69c7f62ab [INFO] running `Command { std: "docker" "start" "-a" "830f6d295246855561e81c62e029763692020d519a6a9eadc7f8dac69c7f62ab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [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 log v0.4.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking natord v1.0.9 [INFO] [stderr] Checking arrayvec v0.4.11 [INFO] [stderr] Compiling gl_generator v0.10.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] Compiling quote v0.6.13 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling kicad-allegro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.4.0 [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] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking bstr v0.2.7 [INFO] [stderr] Checking csv v1.1.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" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `self::support::Vertex`, `self::support::Triangle` [INFO] [stdout] --> examples/glutin.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use self::support::{Vertex, Triangle}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `Triangle` in `support` [INFO] [stdout] | | [INFO] [stdout] | no `Vertex` in `support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `load` in module `support` [INFO] [stdout] --> examples/glutin.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let gl = support::load(&gl_window.context()); [INFO] [stdout] | ^^^^ not found in `support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `a` on type `&mut _` [INFO] [stdout] --> examples/glutin.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | t.a.x += 0.001; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0583, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kicad-allegro` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/kicad-allegro-4ca2b6097dc865bf/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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/kicad-allegro-4ca2b6097dc865bf/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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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:80:22 [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:27 [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:22 [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:27 [INFO] [stdout] | [INFO] [stdout] 85 | let mut vao = mem::uninitialized(); [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: associated function is never used: `angle` [INFO] [stdout] --> src/vec.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn angle(self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/vec.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length_squared` [INFO] [stdout] --> src/vec.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn length_squared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/vec.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm` [INFO] [stdout] --> src/vec.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn norm(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle` [INFO] [stdout] --> src/vec.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn angle(self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/vec.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn dot(self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length_squared` [INFO] [stdout] --> src/vec.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn length_squared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `length` [INFO] [stdout] --> src/vec.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn length(self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm` [INFO] [stdout] --> src/vec.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn norm(self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "830f6d295246855561e81c62e029763692020d519a6a9eadc7f8dac69c7f62ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830f6d295246855561e81c62e029763692020d519a6a9eadc7f8dac69c7f62ab", kill_on_drop: false }` [INFO] [stdout] 830f6d295246855561e81c62e029763692020d519a6a9eadc7f8dac69c7f62ab