[INFO] updating cached repository https://github.com/imv/boids [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e25c31fc1ff0ae8f88152017831643a7edd1c959 [INFO] checking imv/boids against master#73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de for pr-68325 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimv%2Fboids" "/workspace/builds/worker-9/source"` [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 73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de [INFO] running `"/workspace/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 `"/workspace/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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 `"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" "/opt/rustwide/cargo-home/bin/cargo" "+73f76b74efcaf21bd5424d87c66cd6ed7fe5c7de" "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] e59645b2b5c3f83f3e14379c17a46454779a0ce26e75e316bc6fe53517d44bff [INFO] running `"docker" "start" "-a" "e59645b2b5c3f83f3e14379c17a46454779a0ce26e75e316bc6fe53517d44bff"` [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 autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.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 num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking piston2d-graphics v0.36.0 (https://github.com/PistonDevelopers/graphics#66e751fe) [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking nalgebra v0.19.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.4 [INFO] [stderr] Checking piston2d-opengl_graphics v0.71.0 (https://github.com/PistonDevelopers/opengl_graphics#a83804b3) [INFO] [stderr] Checking pistoncore-input v0.28.0 (https://github.com/PistonDevelopers/piston#1392b1e4) [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking pistoncore-window v0.44.0 (https://github.com/PistonDevelopers/piston#1392b1e4) [INFO] [stderr] Checking pistoncore-event_loop v0.49.0 (https://github.com/PistonDevelopers/piston#1392b1e4) [INFO] [stderr] Checking piston v0.49.0 (https://github.com/PistonDevelopers/piston#1392b1e4) [INFO] [stderr] Checking pistoncore-window v0.44.0 [INFO] [stderr] Checking pistoncore-sdl2_window v0.63.0 (https://github.com/PistonDevelopers/sdl2_window#db9d92f7) [INFO] [stderr] Checking boids v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `piston::event` [INFO] [stderr] --> src/boids.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use piston::event::{Events, RenderEvent, UpdateEvent}; [INFO] [stderr] | ^^^^^ could not find `event` in `piston` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `na::ApproxEq`, `na::RotationTo`, `na::Axpy`, `na::Pnt2`, `na::Vec2` [INFO] [stderr] --> src/boids.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | ApproxEq, RotationTo, Norm, Axpy, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ ^^^^ no `Axpy` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `RotationTo` in the root [INFO] [stderr] | | help: a similar name exists in the module: `Rotation2` [INFO] [stderr] | no `ApproxEq` in the root [INFO] [stderr] 19 | Pnt2, Vec2 [INFO] [stderr] | ^^^^ ^^^^ no `Vec2` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Pnt2` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `piston::event` [INFO] [stderr] --> src/boids.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use piston::event::{Events, RenderEvent, UpdateEvent}; [INFO] [stderr] | ^^^^^ could not find `event` in `piston` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `na::ApproxEq`, `na::RotationTo`, `na::Axpy`, `na::Pnt2`, `na::Vec2` [INFO] [stderr] --> src/boids.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | ApproxEq, RotationTo, Norm, Axpy, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^ ^^^^ no `Axpy` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `RotationTo` in the root [INFO] [stderr] | | help: a similar name exists in the module: `Rotation2` [INFO] [stderr] | no `ApproxEq` in the root [INFO] [stderr] 19 | Pnt2, Vec2 [INFO] [stderr] | ^^^^ ^^^^ no `Vec2` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Pnt2` in the root [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `opengl_graphics::GlGraphics: graphics::Graphics` is not satisfied [INFO] [stderr] --> src/boids.rs:57:48 [INFO] [stderr] | [INFO] [stderr] 57 | graphics::clear([0.25, 0.5, 1.0, 1.0], gl); [INFO] [stderr] | ^^ the trait `graphics::Graphics` is not implemented for `opengl_graphics::GlGraphics` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/git/checkouts/graphics-25ede37915e5f3aa/66e751f/./src/lib.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | where G: Graphics [INFO] [stderr] | -------- required by this bound in `graphics::clear` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `opengl_graphics::GlGraphics: graphics::Graphics` is not satisfied [INFO] [stderr] --> src/boids.rs:57:48 [INFO] [stderr] | [INFO] [stderr] 57 | graphics::clear([0.25, 0.5, 1.0, 1.0], gl); [INFO] [stderr] | ^^ the trait `graphics::Graphics` is not implemented for `opengl_graphics::GlGraphics` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/git/checkouts/graphics-25ede37915e5f3aa/66e751f/./src/lib.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | where G: Graphics [INFO] [stderr] | -------- required by this bound in `graphics::clear` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `opengl_graphics::GlGraphics: graphics::Graphics` is not satisfied [INFO] [stderr] --> src/boids.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | context.transform, gl); [INFO] [stderr] | ^^ the trait `graphics::Graphics` is not implemented for `opengl_graphics::GlGraphics` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/git/checkouts/graphics-25ede37915e5f3aa/66e751f/./src/lib.rs:125:14 [INFO] [stderr] | [INFO] [stderr] 125 | where G: Graphics [INFO] [stderr] | -------- required by this bound in `graphics::ellipse` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `opengl_graphics::GlGraphics: graphics::Graphics` is not satisfied [INFO] [stderr] --> src/boids.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | context.transform, gl); [INFO] [stderr] | ^^ the trait `graphics::Graphics` is not implemented for `opengl_graphics::GlGraphics` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/git/checkouts/graphics-25ede37915e5f3aa/66e751f/./src/lib.rs:125:14 [INFO] [stderr] | [INFO] [stderr] 125 | where G: Graphics [INFO] [stderr] | -------- required by this bound in `graphics::ellipse` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/boids.rs:114:18 [INFO] [stderr] | [INFO] [stderr] 114 | let window = Sdl2Window::new( [INFO] [stderr] | __________________^ [INFO] [stderr] 115 | | OpenGL::_3_2, [INFO] [stderr] 116 | | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stderr] 117 | | ); [INFO] [stderr] | |_____^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/boids.rs:114:18 [INFO] [stderr] | [INFO] [stderr] 114 | let window = Sdl2Window::new( [INFO] [stderr] | __________________^ [INFO] [stderr] 115 | | OpenGL::_3_2, [INFO] [stderr] 116 | | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stderr] 117 | | ); [INFO] [stderr] | |_____^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `_3_2` found for enum `sdl2_window::OpenGL` in the current scope [INFO] [stderr] --> src/boids.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | OpenGL::_3_2, [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sdl2_window::OpenGL` [INFO] [stderr] | help: there is a variant with a similar name: `V3_2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `_3_2` found for enum `sdl2_window::OpenGL` in the current scope [INFO] [stderr] --> src/boids.rs:115:17 [INFO] [stderr] | [INFO] [stderr] 115 | OpenGL::_3_2, [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sdl2_window::OpenGL` [INFO] [stderr] | help: there is a variant with a similar name: `V3_2` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/boids.rs:116:63 [INFO] [stderr] | [INFO] [stderr] 116 | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `f64`, found integer [INFO] [stderr] | help: use a float literal: `640.0` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/boids.rs:116:63 [INFO] [stderr] | [INFO] [stderr] 116 | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `f64`, found integer [INFO] [stderr] | help: use a float literal: `640.0` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/boids.rs:116:76 [INFO] [stderr] | [INFO] [stderr] 116 | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `f64`, found integer [INFO] [stderr] | help: use a float literal: `640.0` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `_3_2` found for enum `sdl2_window::OpenGL` in the current scope [INFO] [stderr] --> src/boids.rs:118:42 [INFO] [stderr] | [INFO] [stderr] 118 | let mut gl = GlGraphics::new(OpenGL::_3_2); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sdl2_window::OpenGL` [INFO] [stderr] | help: there is a variant with a similar name: `V3_2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `events` found for enum `std::result::Result>` in the current scope [INFO] [stderr] --> src/boids.rs:120:21 [INFO] [stderr] | [INFO] [stderr] 120 | for e in window.events() { [INFO] [stderr] | ^^^^^^ method not found in `std::result::Result>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/boids.rs:116:76 [INFO] [stderr] | [INFO] [stderr] 116 | WindowSettings::new("Boids".to_string(), Size {width: 640, height: 640}) [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `f64`, found integer [INFO] [stderr] | help: use a float literal: `640.0` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `_3_2` found for enum `sdl2_window::OpenGL` in the current scope [INFO] [stderr] --> src/boids.rs:118:42 [INFO] [stderr] | [INFO] [stderr] 118 | let mut gl = GlGraphics::new(OpenGL::_3_2); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | variant or associated item not found in `sdl2_window::OpenGL` [INFO] [stderr] | help: there is a variant with a similar name: `V3_2` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `events` found for enum `std::result::Result>` in the current scope [INFO] [stderr] --> src/boids.rs:120:21 [INFO] [stderr] | [INFO] [stderr] 120 | for e in window.events() { [INFO] [stderr] | ^^^^^^ method not found in `std::result::Result>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/boids.rs:122:63 [INFO] [stderr] | [INFO] [stderr] 122 | gl.draw(args.viewport(), |context, g| {app.render(context, g);}); [INFO] [stderr] | ^^^^^^^ expected struct `graphics::Context`, found struct `graphics::context::Context` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stderr] [INFO] [stderr] warning: unused import: `Norm` [INFO] [stderr] --> src/boids.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | ApproxEq, RotationTo, Norm, Axpy, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `boids`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/boids.rs:122:63 [INFO] [stderr] | [INFO] [stderr] 122 | gl.draw(args.viewport(), |context, g| {app.render(context, g);}); [INFO] [stderr] | ^^^^^^^ expected struct `graphics::Context`, found struct `graphics::context::Context` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stderr] [INFO] [stderr] warning: unused import: `Norm` [INFO] [stderr] --> src/boids.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | ApproxEq, RotationTo, Norm, Axpy, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `boids`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e59645b2b5c3f83f3e14379c17a46454779a0ce26e75e316bc6fe53517d44bff"` [INFO] running `"docker" "rm" "-f" "e59645b2b5c3f83f3e14379c17a46454779a0ce26e75e316bc6fe53517d44bff"` [INFO] [stdout] e59645b2b5c3f83f3e14379c17a46454779a0ce26e75e316bc6fe53517d44bff