[INFO] cloning repository https://github.com/pipopa/Shot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pipopa/Shot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpipopa%2FShot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpipopa%2FShot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e042f9bf7dabbe3d645b9577f94d31671a83d08 [INFO] testing pipopa/Shot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpipopa%2FShot" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pipopa/Shot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pipopa/Shot [INFO] finished tweaking git repo https://github.com/pipopa/Shot [INFO] tweaked toml for git repo https://github.com/pipopa/Shot written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/pipopa/Shot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a442ccab9b80b975e3e4f7d8239b4a80557ed36fdd71c9db1302c7b24a10bb4d [INFO] running `Command { std: "docker" "start" "-a" "a442ccab9b80b975e3e4f7d8239b4a80557ed36fdd71c9db1302c7b24a10bb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a442ccab9b80b975e3e4f7d8239b4a80557ed36fdd71c9db1302c7b24a10bb4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a442ccab9b80b975e3e4f7d8239b4a80557ed36fdd71c9db1302c7b24a10bb4d", kill_on_drop: false }` [INFO] [stdout] a442ccab9b80b975e3e4f7d8239b4a80557ed36fdd71c9db1302c7b24a10bb4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d979fa73e6256a158891c96ec9d60c6d8c17695e18665b732791bdd13ae9d141 [INFO] running `Command { std: "docker" "start" "-a" "d979fa73e6256a158891c96ec9d60c6d8c17695e18665b732791bdd13ae9d141", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling khronos_api v2.0.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling rustc-demangle v0.1.5 [INFO] [stderr] Compiling smallvec v0.4.4 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling x11-dl v2.17.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Compiling glium v0.18.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling backtrace v0.3.4 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.8.0 [INFO] [stderr] Compiling winit v0.8.3 [INFO] [stderr] Compiling shot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `serde_derive` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate serde_derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `bincode` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate bincode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rand` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/object.rs:186:44 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/object.rs:186:55 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/object.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/object.rs:194:55 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/object.rs:206:44 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/object.rs:206:55 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/field.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | (vec.x / vec.x.abs()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 391 - (vec.x / vec.x.abs()) [INFO] [stdout] 391 + vec.x / vec.x.abs() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/field.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | (vec.y / vec.y.abs()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 397 - (vec.y / vec.y.abs()) [INFO] [stdout] 397 + vec.y / vec.y.abs() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `field::Field` [INFO] [stdout] --> src/object.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use field::Field; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ExtendDirection` is imported redundantly [INFO] [stdout] --> src/object.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 195 | / pub enum ExtendDirection { [INFO] [stdout] 196 | | Left, [INFO] [stdout] 197 | | Right, [INFO] [stdout] 198 | | Up, [INFO] [stdout] ... | [INFO] [stdout] 203 | | RightDown, [INFO] [stdout] 204 | | } [INFO] [stdout] | |_- the item `ExtendDirection` is already defined here [INFO] [stdout] ... [INFO] [stdout] 217 | use self::ExtendDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Direction` is imported redundantly [INFO] [stdout] --> src/object.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 187 | / pub enum Direction { [INFO] [stdout] 188 | | Left, [INFO] [stdout] 189 | | Right, [INFO] [stdout] 190 | | Up, [INFO] [stdout] 191 | | Down, [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- the item `Direction` is already defined here [INFO] [stdout] ... [INFO] [stdout] 218 | use self::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::glutin` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use glium::glutin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/render.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_reader.rs:20:72 [INFO] [stdout] | [INFO] [stdout] 20 | Err(why) => panic!("couldn't open {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_reader.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | Err(why) => panic!("couldn't read {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shot` due to 10 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d979fa73e6256a158891c96ec9d60c6d8c17695e18665b732791bdd13ae9d141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d979fa73e6256a158891c96ec9d60c6d8c17695e18665b732791bdd13ae9d141", kill_on_drop: false }` [INFO] [stdout] d979fa73e6256a158891c96ec9d60c6d8c17695e18665b732791bdd13ae9d141