[INFO] cloning repository https://github.com/imv/boids [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imv/boids" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimv%2Fboids", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimv%2Fboids'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e25c31fc1ff0ae8f88152017831643a7edd1c959 [INFO] testing imv/boids against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimv%2Fboids" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imv/boids on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imv/boids [INFO] finished tweaking git repo https://github.com/imv/boids [INFO] tweaked toml for git repo https://github.com/imv/boids written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/imv/boids already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-9/source/src/boids.rs` was erroneously implicitly accepted for binary `boids`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/piston` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/graphics` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/opengl_graphics` [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/sdl2_window` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-9/source/src/boids.rs` was erroneously implicitly accepted for binary `boids`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 829f57b6ffa09d5802c4ff5c3550fbf4ef17adeba2ea287c130aaffbf3a48ffa [INFO] running `Command { std: "docker" "start" "-a" "829f57b6ffa09d5802c4ff5c3550fbf4ef17adeba2ea287c130aaffbf3a48ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "829f57b6ffa09d5802c4ff5c3550fbf4ef17adeba2ea287c130aaffbf3a48ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829f57b6ffa09d5802c4ff5c3550fbf4ef17adeba2ea287c130aaffbf3a48ffa", kill_on_drop: false }` [INFO] [stdout] 829f57b6ffa09d5802c4ff5c3550fbf4ef17adeba2ea287c130aaffbf3a48ffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a1d34d57796913f81cc382993557c21819beeef8b466a0bf87669a10fe53ad2d [INFO] running `Command { std: "docker" "start" "-a" "a1d34d57796913f81cc382993557c21819beeef8b466a0bf87669a10fe53ad2d", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/boids.rs` was erroneously implicitly accepted for binary `boids`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 (https://github.com/PistonDevelopers/graphics#cc957a33) [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling simba v0.1.5 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling nalgebra v0.21.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 (https://github.com/PistonDevelopers/opengl_graphics#bb950848) [INFO] [stderr] Compiling pistoncore-input v1.0.0 (https://github.com/PistonDevelopers/piston#6ef52a48) [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling pistoncore-window v0.46.0 [INFO] [stderr] Compiling pistoncore-sdl2_window v0.65.0 (https://github.com/PistonDevelopers/sdl2_window#104807a2) [INFO] [stderr] Compiling pistoncore-window v0.46.0 (https://github.com/PistonDevelopers/piston#6ef52a48) [INFO] [stderr] Compiling pistoncore-event_loop v0.51.0 (https://github.com/PistonDevelopers/piston#6ef52a48) [INFO] [stderr] Compiling piston v0.51.0 (https://github.com/PistonDevelopers/piston#6ef52a48) [INFO] [stderr] Compiling boids v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `piston::event` [INFO] [stdout] --> src/boids.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use piston::event::{Events, RenderEvent, UpdateEvent}; [INFO] [stdout] | ^^^^^ could not find `event` in `piston` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `na::ApproxEq`, `na::RotationTo`, `na::Axpy`, `na::Pnt2`, `na::Vec2` [INFO] [stdout] --> src/boids.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ApproxEq, RotationTo, Norm, Axpy, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^ no `Axpy` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `RotationTo` in the root [INFO] [stdout] | | help: a similar name exists in the module: `Rotation2` [INFO] [stdout] | no `ApproxEq` in the root [INFO] [stdout] 19 | Pnt2, Vec2 [INFO] [stdout] | ^^^^ ^^^^ no `Vec2` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Pnt2` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `opengl_graphics::GlGraphics: graphics::Graphics` is not satisfied [INFO] [stdout] --> src/boids.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | graphics::clear([0.25, 0.5, 1.0, 1.0], gl); [INFO] [stdout] | ^^ the trait `graphics::Graphics` is not implemented for `opengl_graphics::GlGraphics` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/graphics-25ede37915e5f3aa/cc957a3/./src/lib.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | where G: Graphics [INFO] [stdout] | -------- required by this bound in `graphics::clear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `opengl_graphics::GlGraphics: graphics::Graphics` is not satisfied [INFO] [stdout] --> src/boids.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | context.transform, gl); [INFO] [stdout] | ^^ the trait `graphics::Graphics` is not implemented for `opengl_graphics::GlGraphics` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/graphics-25ede37915e5f3aa/cc957a3/./src/lib.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | where G: Graphics [INFO] [stdout] | -------- required by this bound in `graphics::ellipse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/boids.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | let window = Sdl2Window::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected 1 argument [INFO] [stdout] 115 | OpenGL::_3_2, [INFO] [stdout] | ------------ [INFO] [stdout] 116 | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stdout] | ------------------------------------------------------------------------ supplied 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `_3_2` found for enum `sdl2_window::OpenGL` in the current scope [INFO] [stdout] --> src/boids.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | OpenGL::_3_2, [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `sdl2_window::OpenGL` [INFO] [stdout] | help: there is a variant with a similar name: `V3_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/boids.rs:116:63 [INFO] [stdout] | [INFO] [stdout] 116 | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `640.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/boids.rs:116:76 [INFO] [stdout] | [INFO] [stdout] 116 | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `640.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `_3_2` found for enum `sdl2_window::OpenGL` in the current scope [INFO] [stdout] --> src/boids.rs:118:42 [INFO] [stdout] | [INFO] [stdout] 118 | let mut gl = GlGraphics::new(OpenGL::_3_2); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `sdl2_window::OpenGL` [INFO] [stdout] | help: there is a variant with a similar name: `V3_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `events` found for enum `std::result::Result>` in the current scope [INFO] [stdout] --> src/boids.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | for e in window.events() { [INFO] [stdout] | ^^^^^^ method not found in `std::result::Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/boids.rs:122:63 [INFO] [stdout] | [INFO] [stdout] 122 | gl.draw(args.viewport(), |context, g| {app.render(context, g);}); [INFO] [stdout] | ^^^^^^^ expected struct `graphics::Context`, found struct `graphics::context::Context` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Norm` [INFO] [stdout] --> src/boids.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | ApproxEq, RotationTo, Norm, Axpy, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boids`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a1d34d57796913f81cc382993557c21819beeef8b466a0bf87669a10fe53ad2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d34d57796913f81cc382993557c21819beeef8b466a0bf87669a10fe53ad2d", kill_on_drop: false }` [INFO] [stdout] a1d34d57796913f81cc382993557c21819beeef8b466a0bf87669a10fe53ad2d