[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsystem76%2Fkicad-allegro" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/system76/kicad-allegro on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-6/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded natord v1.0.9 [INFO] [stderr] Downloaded bstr v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad14ce46b0c307fbc0fed336091b93e0f6d093cc209e890d8f759fe4d837e61f [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" "ad14ce46b0c307fbc0fed336091b93e0f6d093cc209e890d8f759fe4d837e61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad14ce46b0c307fbc0fed336091b93e0f6d093cc209e890d8f759fe4d837e61f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad14ce46b0c307fbc0fed336091b93e0f6d093cc209e890d8f759fe4d837e61f", kill_on_drop: false }` [INFO] [stdout] ad14ce46b0c307fbc0fed336091b93e0f6d093cc209e890d8f759fe4d837e61f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea85038b70fa34f820cf25496c25712274e07c9bd6eb79f06441c5b00b046d1f [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" "ea85038b70fa34f820cf25496c25712274e07c9bd6eb79f06441c5b00b046d1f", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling kicad-allegro v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Checking wayland-client v0.21.13 [INFO] [stderr] Checking wayland-protocols v0.21.13 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking serde v1.0.99 [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/kicad-allegro-d0673990474f1642/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] 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] [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] [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-d0673990474f1642/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: 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: 9 warnings emitted [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ea85038b70fa34f820cf25496c25712274e07c9bd6eb79f06441c5b00b046d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea85038b70fa34f820cf25496c25712274e07c9bd6eb79f06441c5b00b046d1f", kill_on_drop: false }` [INFO] [stdout] ea85038b70fa34f820cf25496c25712274e07c9bd6eb79f06441c5b00b046d1f