[INFO] cloning repository https://github.com/yeliknewo/dots [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yeliknewo/dots" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeliknewo%2Fdots"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeliknewo%2Fdots'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7a8f22836f32dc31f67611f69ec0303ba23a8ff6 [INFO] checking yeliknewo/dots against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeliknewo%2Fdots" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yeliknewo/dots on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/yeliknewo/dots [INFO] finished tweaking git repo https://github.com/yeliknewo/dots [INFO] tweaked toml for git repo https://github.com/yeliknewo/dots written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/yeliknewo/dots already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 78d70f97cae1d35c7b432f9fa87a59166aa8eb93d65717564bd4c414188b6eb0 [INFO] running `"docker" "start" "-a" "78d70f97cae1d35c7b432f9fa87a59166aa8eb93d65717564bd4c414188b6eb0"` [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking piston-gfx_texture v0.40.0 [INFO] [stderr] Checking winit v0.19.4 [INFO] [stderr] Checking piston2d-gfx_graphics v0.66.0 [INFO] [stderr] Checking pistoncore-window v0.44.0 [INFO] [stderr] Checking glutin v0.21.1 [INFO] [stderr] Checking pistoncore-event_loop v0.49.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.63.0 [INFO] [stderr] Checking piston v0.49.0 [INFO] [stderr] Checking piston_window v0.105.0 [INFO] [stderr] Checking dots v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stderr] --> src/main.rs:102:73 [INFO] [stderr] | [INFO] [stderr] 102 | world_events.push_back(WorldEvents::Set(x, y, rand::OsRng::new().unwrap().next_f32())); [INFO] [stderr] | ^^^^^ could not find `OsRng` in `rand` [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::*` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rand::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected at most 1, found 2 [INFO] [stderr] --> src/main.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let window: PistonWindow<(), GlutinWindow> = WindowSettings::new("Hello Piston!", [WIDTH as u32, HEIGHT as u32]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected at most 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `(): piston_window::Window` is not satisfied [INFO] [stderr] --> src/main.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let window: PistonWindow<(), GlutinWindow> = WindowSettings::new("Hello Piston!", [WIDTH as u32, HEIGHT as u32]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `piston_window::Window` is not implemented for `()` [INFO] [stderr] | [INFO] [stderr] = note: required by `piston_window::PistonWindow` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `opengl` found for type `piston_window::WindowSettings` in the current scope [INFO] [stderr] --> src/main.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | .opengl(opengl) [INFO] [stderr] | ^^^^^^ method not found in `piston_window::WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `borrow_mut` found for type `gfx_device_gl::factory::Factory` in the current scope [INFO] [stderr] --> src/main.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | &mut *window.factory.borrow_mut(), [INFO] [stderr] | ^^^^^^^^^^ method not found in `gfx_device_gl::factory::Factory` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 8 | use std::borrow::BorrowMut; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: `piston_window::PistonWindow<()>` is not an iterator [INFO] [stderr] --> src/main.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | for e in window { [INFO] [stderr] | ^^^^^^ `piston_window::PistonWindow<()>` is not an iterator [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::Iterator` is not implemented for `piston_window::PistonWindow<()>` [INFO] [stderr] = note: required by `std::iter::IntoIterator::into_iter` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `(): piston_window::Window` is not satisfied [INFO] [stderr] --> src/main.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | for e in window { [INFO] [stderr] | ^^^^^^ the trait `piston_window::Window` is not implemented for `()` [INFO] [stderr] | [INFO] [stderr] = note: required by `piston_window::PistonWindow` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0277, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `dots`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `OsRng` in `rand` [INFO] [stderr] --> src/main.rs:102:73 [INFO] [stderr] | [INFO] [stderr] 102 | world_events.push_back(WorldEvents::Set(x, y, rand::OsRng::new().unwrap().next_f32())); [INFO] [stderr] | ^^^^^ could not find `OsRng` in `rand` [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::*` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rand::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected at most 1, found 2 [INFO] [stderr] --> src/main.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let window: PistonWindow<(), GlutinWindow> = WindowSettings::new("Hello Piston!", [WIDTH as u32, HEIGHT as u32]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected at most 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `(): piston_window::Window` is not satisfied [INFO] [stderr] --> src/main.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let window: PistonWindow<(), GlutinWindow> = WindowSettings::new("Hello Piston!", [WIDTH as u32, HEIGHT as u32]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `piston_window::Window` is not implemented for `()` [INFO] [stderr] | [INFO] [stderr] = note: required by `piston_window::PistonWindow` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `opengl` found for type `piston_window::WindowSettings` in the current scope [INFO] [stderr] --> src/main.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | .opengl(opengl) [INFO] [stderr] | ^^^^^^ method not found in `piston_window::WindowSettings` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `borrow_mut` found for type `gfx_device_gl::factory::Factory` in the current scope [INFO] [stderr] --> src/main.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | &mut *window.factory.borrow_mut(), [INFO] [stderr] | ^^^^^^^^^^ method not found in `gfx_device_gl::factory::Factory` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 8 | use std::borrow::BorrowMut; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: `piston_window::PistonWindow<()>` is not an iterator [INFO] [stderr] --> src/main.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | for e in window { [INFO] [stderr] | ^^^^^^ `piston_window::PistonWindow<()>` is not an iterator [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::Iterator` is not implemented for `piston_window::PistonWindow<()>` [INFO] [stderr] = note: required by `std::iter::IntoIterator::into_iter` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `(): piston_window::Window` is not satisfied [INFO] [stderr] --> src/main.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | for e in window { [INFO] [stderr] | ^^^^^^ the trait `piston_window::Window` is not implemented for `()` [INFO] [stderr] | [INFO] [stderr] = note: required by `piston_window::PistonWindow` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0277, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `dots`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "78d70f97cae1d35c7b432f9fa87a59166aa8eb93d65717564bd4c414188b6eb0"` [INFO] running `"docker" "rm" "-f" "78d70f97cae1d35c7b432f9fa87a59166aa8eb93d65717564bd4c414188b6eb0"` [INFO] [stdout] 78d70f97cae1d35c7b432f9fa87a59166aa8eb93d65717564bd4c414188b6eb0