[INFO] cloning repository https://github.com/gufoe/rust-fluid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gufoe/rust-fluid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgufoe%2Frust-fluid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgufoe%2Frust-fluid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7d7a44a44d8e54dd33c772d4ade8fac5e34021d [INFO] testing gufoe/rust-fluid against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgufoe%2Frust-fluid" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gufoe/rust-fluid on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gufoe/rust-fluid [INFO] finished tweaking git repo https://github.com/gufoe/rust-fluid [INFO] tweaked toml for git repo https://github.com/gufoe/rust-fluid written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/gufoe/rust-fluid already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-core v1.8.0 [INFO] [stderr] Downloaded parking_lot v0.4.8 [INFO] [stderr] Downloaded miniz_oxide v0.4.1 [INFO] [stderr] Downloaded libloading v0.6.3 [INFO] [stderr] Downloaded syn v1.0.40 [INFO] [stderr] Downloaded chashmap v2.2.2 [INFO] [stderr] Downloaded zip v0.5.8 [INFO] [stderr] Downloaded generator v0.6.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d88d4451173dd54fc0d133b5faaecf434d256a364914f341c8dc82e21c39883 [INFO] running `Command { std: "docker" "start" "-a" "8d88d4451173dd54fc0d133b5faaecf434d256a364914f341c8dc82e21c39883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d88d4451173dd54fc0d133b5faaecf434d256a364914f341c8dc82e21c39883", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d88d4451173dd54fc0d133b5faaecf434d256a364914f341c8dc82e21c39883", kill_on_drop: false }` [INFO] [stdout] 8d88d4451173dd54fc0d133b5faaecf434d256a364914f341c8dc82e21c39883 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96101784321e460caeffbcca51ca8ded203998f0c18f0c2bcd0c1d7ba10115c2 [INFO] running `Command { std: "docker" "start" "-a" "96101784321e460caeffbcca51ca8ded203998f0c18f0c2bcd0c1d7ba10115c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling generator v0.6.22 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling zip v0.5.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/latex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_range` [INFO] [stdout] --> src/ag.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | max_range: f32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/ag.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn red (&self) -> f32 { [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: `green` [INFO] [stdout] --> src/ag.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn green (&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/ag.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn blue (&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `white` [INFO] [stdout] --> src/ag.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn white (&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `vavg` [INFO] [stdout] --> src/utils.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn vavg(a: &mut [f32], b: &[f32], x: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `softmax` [INFO] [stdout] --> src/utils.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn softmax(v: &mut [f32]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm_2` [INFO] [stdout] --> src/utils.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn norm_2(v: &mut [f32]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "96101784321e460caeffbcca51ca8ded203998f0c18f0c2bcd0c1d7ba10115c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96101784321e460caeffbcca51ca8ded203998f0c18f0c2bcd0c1d7ba10115c2", kill_on_drop: false }` [INFO] [stdout] 96101784321e460caeffbcca51ca8ded203998f0c18f0c2bcd0c1d7ba10115c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fb96ac06c8b583e66c531402a1a95443b82447713808222864143e6e7eb47fa [INFO] running `Command { std: "docker" "start" "-a" "1fb96ac06c8b583e66c531402a1a95443b82447713808222864143e6e7eb47fa", kill_on_drop: false }` [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/latex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&{integer}` with `{integer}` [INFO] [stdout] --> src/main.rs:545:40 [INFO] [stdout] | [INFO] [stdout] 545 | assert!(latex.get((0.0, 0.0), 2.0) == vec![1]); [INFO] [stdout] | ^^ no implementation for `&{integer} == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `std::vec::Vec<&{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&{integer}` with `{integer}` [INFO] [stdout] --> src/main.rs:546:41 [INFO] [stdout] | [INFO] [stdout] 546 | assert!(latex.get((0.0, 0.0), 10.0) == vec![1]); [INFO] [stdout] | ^^ no implementation for `&{integer} == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `std::vec::Vec<&{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&{integer}` with `{integer}` [INFO] [stdout] --> src/main.rs:547:41 [INFO] [stdout] | [INFO] [stdout] 547 | assert!(latex.get((0.0, 0.0), 20.0) == vec![1]); [INFO] [stdout] | ^^ no implementation for `&{integer} == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `std::vec::Vec<&{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&{integer}` with `{integer}` [INFO] [stdout] --> src/main.rs:548:43 [INFO] [stdout] | [INFO] [stdout] 548 | assert!(latex.get((0.0, 0.0), 1000.0) == vec![1]); [INFO] [stdout] | ^^ no implementation for `&{integer} == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `std::vec::Vec<&{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&{integer}` with `{integer}` [INFO] [stdout] --> src/main.rs:554:40 [INFO] [stdout] | [INFO] [stdout] 554 | assert!(latex.get((0.0, 0.0), 2.0) == vec![1]); [INFO] [stdout] | ^^ no implementation for `&{integer} == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `std::vec::Vec<&{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&{integer}` with `{integer}` [INFO] [stdout] --> src/main.rs:555:42 [INFO] [stdout] | [INFO] [stdout] 555 | assert!(latex.get((50.0, 0.0), 10.0) == vec![2, 3]); [INFO] [stdout] | ^^ no implementation for `&{integer} == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<{integer}>` is not implemented for `&{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `std::vec::Vec<&{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game` due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1fb96ac06c8b583e66c531402a1a95443b82447713808222864143e6e7eb47fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fb96ac06c8b583e66c531402a1a95443b82447713808222864143e6e7eb47fa", kill_on_drop: false }` [INFO] [stdout] 1fb96ac06c8b583e66c531402a1a95443b82447713808222864143e6e7eb47fa