[INFO] cloning repository https://github.com/adumbidiot/slash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adumbidiot/slash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fslash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fslash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c49afa28125a1ac8c0c858fb9251766a061ef25 [INFO] checking adumbidiot/slash against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fslash" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adumbidiot/slash on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adumbidiot/slash [INFO] finished tweaking git repo https://github.com/adumbidiot/slash [INFO] tweaked toml for git repo https://github.com/adumbidiot/slash written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/adumbidiot/slash already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83756b3d5335da674f739d9367e4900745945276760f12c915e15c8712523671 [INFO] running `Command { std: "docker" "start" "-a" "83756b3d5335da674f739d9367e4900745945276760f12c915e15c8712523671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83756b3d5335da674f739d9367e4900745945276760f12c915e15c8712523671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83756b3d5335da674f739d9367e4900745945276760f12c915e15c8712523671", kill_on_drop: false }` [INFO] [stdout] 83756b3d5335da674f739d9367e4900745945276760f12c915e15c8712523671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96a7b732e1b8b96c4dfafc8b00b175bc0934c2cfd8815b8821509eec59130041 [INFO] running `Command { std: "docker" "start" "-a" "96a7b732e1b8b96c4dfafc8b00b175bc0934c2cfd8815b8821509eec59130041", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.32 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking libm v0.1.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking matrixmultiply v0.2.2 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [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] Compiling quote v0.6.11 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking num_cpus v1.10.0 [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] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking rusttype v0.7.5 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.11 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking wayland-commons v0.21.11 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.5 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking slash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::AppState` [INFO] [stdout] --> src/graphics.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use super::AppState; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | pub state: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn State + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::AppState` [INFO] [stdout] --> src/graphics.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use super::AppState; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | pub state: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn State + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/graphics.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | _ => gl::STATIC_DRAW, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/lib.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, window: &mut Window, graphics: &mut Graphics) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphics` [INFO] [stdout] --> src/lib.rs:105:45 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, window: &mut Window, graphics: &mut Graphics) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/lib.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn handle_event(&mut self, event: &Event, window: &Window) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/lib.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | fn handle_event(&mut self, event: &Event, window: &Window) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphics` [INFO] [stdout] --> src/lib.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | fn render(&mut self, graphics: &mut Graphics, _state: &AppState) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let mut shader = ShaderProgram::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | let mut line_program = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | let mut text_program = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test` [INFO] [stdout] --> src/graphics.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | test: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/graphics.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | _ => gl::STATIC_DRAW, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/lib.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, window: &mut Window, graphics: &mut Graphics) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphics` [INFO] [stdout] --> src/lib.rs:105:45 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, window: &mut Window, graphics: &mut Graphics) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/lib.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | fn handle_event(&mut self, event: &Event, window: &Window) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/lib.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | fn handle_event(&mut self, event: &Event, window: &Window) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graphics` [INFO] [stdout] --> src/lib.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | fn render(&mut self, graphics: &mut Graphics, _state: &AppState) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let mut shader = ShaderProgram::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 492 | let mut line_program = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphics.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | let mut text_program = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `test` [INFO] [stdout] --> src/graphics.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | test: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.63s [INFO] running `Command { std: "docker" "inspect" "96a7b732e1b8b96c4dfafc8b00b175bc0934c2cfd8815b8821509eec59130041", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a7b732e1b8b96c4dfafc8b00b175bc0934c2cfd8815b8821509eec59130041", kill_on_drop: false }` [INFO] [stdout] 96a7b732e1b8b96c4dfafc8b00b175bc0934c2cfd8815b8821509eec59130041