[INFO] cloning repository https://github.com/zvxryb/strafe-jump-trainer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zvxryb/strafe-jump-trainer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzvxryb%2Fstrafe-jump-trainer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzvxryb%2Fstrafe-jump-trainer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7217c571c9e1587b306e84bf1ad15ba1b7b75aea [INFO] testing zvxryb/strafe-jump-trainer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzvxryb%2Fstrafe-jump-trainer" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zvxryb/strafe-jump-trainer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zvxryb/strafe-jump-trainer [INFO] finished tweaking git repo https://github.com/zvxryb/strafe-jump-trainer [INFO] tweaked toml for git repo https://github.com/zvxryb/strafe-jump-trainer written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/zvxryb/strafe-jump-trainer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.1 [INFO] [stderr] Downloaded js-sys v0.3.27 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded cc v1.0.40 [INFO] [stderr] Downloaded backtrace v0.3.35 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.50 [INFO] [stderr] Downloaded web-sys v0.3.27 [INFO] [stderr] Downloaded syn v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e761a067de38c399428c70c68c81e90375b15806e75660d71a9359dad85e8261 [INFO] running `Command { std: "docker" "start" "-a" "e761a067de38c399428c70c68c81e90375b15806e75660d71a9359dad85e8261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e761a067de38c399428c70c68c81e90375b15806e75660d71a9359dad85e8261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e761a067de38c399428c70c68c81e90375b15806e75660d71a9359dad85e8261", kill_on_drop: false }` [INFO] [stdout] e761a067de38c399428c70c68c81e90375b15806e75660d71a9359dad85e8261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ffb2127d9048ef24367ae4e6271c0559bb98f1b149a097b3ec3c9d00a418205 [INFO] running `Command { std: "docker" "start" "-a" "7ffb2127d9048ef24367ae4e6271c0559bb98f1b149a097b3ec3c9d00a418205", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling syn v1.0.4 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.50 [INFO] [stderr] Compiling bumpalo v2.6.0 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.50 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.35 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.50 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.50 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.50 [INFO] [stderr] Compiling web-sys v0.3.27 [INFO] [stderr] Compiling js-sys v0.3.27 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling strafe_tutorial v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:722:10 [INFO] [stdout] | [INFO] [stdout] 722 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | map: Box, [INFO] [stdout] | ^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - map: Box, [INFO] [stdout] 310 + map: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - gl: &GlContext, [INFO] [stdout] 45 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] 69 + pub fn new(gl: &dyn GlContext) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 169 - gl: &GlContext, [INFO] [stdout] 169 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 - pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] 234 + pub fn new(gl: &dyn GlContext) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 - gl: &GlContext, [INFO] [stdout] 341 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gl_context.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn gl(&self) -> &GlContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - pub fn gl(&self) -> &GlContext { [INFO] [stdout] 164 + pub fn gl(&self) -> &dyn GlContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | fn build_shader(gl: &GlContext, type_: u32, source: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn build_shader(gl: &GlContext, type_: u32, source: &str) [INFO] [stdout] 78 + fn build_shader(gl: &dyn GlContext, type_: u32, source: &str) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | fn link_program(gl: &GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn link_program(gl: &GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stdout] 98 + fn link_program(gl: &dyn GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | fn build_program(gl: &GlContext, source_vs: &str, source_fs: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - fn build_program(gl: &GlContext, source_vs: &str, source_fs: &str) [INFO] [stdout] 114 + fn build_program(gl: &dyn GlContext, source_vs: &str, source_fs: &str) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn build_vbo(gl: &GlContext, data: &[T]) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - pub fn build_vbo(gl: &GlContext, data: &[T]) -> Option [INFO] [stdout] 126 + pub fn build_vbo(gl: &dyn GlContext, data: &[T]) -> Option [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 422 - gl: &GlContext, [INFO] [stdout] 422 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | pub fn gen_box(gl: &GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 545 - pub fn gen_box(gl: &GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stdout] 545 + pub fn gen_box(gl: &dyn GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:624:26 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn gen_hud_quad(gl: &GlContext, min: Point2, max: Point2) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 624 - pub fn gen_hud_quad(gl: &GlContext, min: Point2, max: Point2) -> Option { [INFO] [stdout] 624 + pub fn gen_hud_quad(gl: &dyn GlContext, min: Point2, max: Point2) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn wrap(gl: &GlContext, program: WebGlProgram) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - pub fn wrap(gl: &GlContext, program: WebGlProgram) -> Self { [INFO] [stdout] 183 + pub fn wrap(gl: &dyn GlContext, program: WebGlProgram) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn from_source(gl: &GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn from_source(gl: &GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stdout] 216 + pub fn from_source(gl: &dyn GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn use_program(&self, gl: &GlContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - pub fn use_program(&self, gl: &GlContext) { [INFO] [stdout] 220 + pub fn use_program(&self, gl: &dyn GlContext) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:224:61 [INFO] [stdout] | [INFO] [stdout] 224 | fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &GlContext, vertex_attribs: VertexAttribs) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 224 - fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &GlContext, vertex_attribs: VertexAttribs) [INFO] [stdout] 224 + fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &dyn GlContext, vertex_attribs: VertexAttribs) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | fn clear_vertex_attribs(&self, gl: &GlContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 - fn clear_vertex_attribs(&self, gl: &GlContext) { [INFO] [stdout] 264 + fn clear_vertex_attribs(&self, gl: &dyn GlContext) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn set_attribute(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 - pub fn set_attribute(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] 273 + pub fn set_attribute(&self, gl: &dyn GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:317:36 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn set_uniform(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn set_uniform(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] 317 + pub fn set_uniform(&self, gl: &dyn GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn set_constant(&self, gl: &GlContext, name: &str, value: &Constant) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 359 - pub fn set_constant(&self, gl: &GlContext, name: &str, value: &Constant) { [INFO] [stdout] 359 + pub fn set_constant(&self, gl: &dyn GlContext, name: &str, value: &Constant) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:401:48 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn from_vertices(gl: &GlContext, draw_mode: u32, data: &[V]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 401 - pub fn from_vertices(gl: &GlContext, draw_mode: u32, data: &[V]) [INFO] [stdout] 401 + pub fn from_vertices(gl: &dyn GlContext, draw_mode: u32, data: &[V]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: js-sys v0.3.27 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "7ffb2127d9048ef24367ae4e6271c0559bb98f1b149a097b3ec3c9d00a418205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffb2127d9048ef24367ae4e6271c0559bb98f1b149a097b3ec3c9d00a418205", kill_on_drop: false }` [INFO] [stdout] 7ffb2127d9048ef24367ae4e6271c0559bb98f1b149a097b3ec3c9d00a418205 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acc024e0e57fb0c9f3861a4b37f35292cfe373ed5bf7aa317a4992ac1202084a [INFO] running `Command { std: "docker" "start" "-a" "acc024e0e57fb0c9f3861a4b37f35292cfe373ed5bf7aa317a4992ac1202084a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling strafe_tutorial v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:722:10 [INFO] [stdout] | [INFO] [stdout] 722 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | map: Box, [INFO] [stdout] | ^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - map: Box, [INFO] [stdout] 310 + map: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - gl: &GlContext, [INFO] [stdout] 45 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] 69 + pub fn new(gl: &dyn GlContext) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 169 - gl: &GlContext, [INFO] [stdout] 169 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 - pub fn new(gl: &GlContext) -> Self { [INFO] [stdout] 234 + pub fn new(gl: &dyn GlContext) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/env.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 341 - gl: &GlContext, [INFO] [stdout] 341 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gl_context.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn gl(&self) -> &GlContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - pub fn gl(&self) -> &GlContext { [INFO] [stdout] 164 + pub fn gl(&self) -> &dyn GlContext { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | fn build_shader(gl: &GlContext, type_: u32, source: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn build_shader(gl: &GlContext, type_: u32, source: &str) [INFO] [stdout] 78 + fn build_shader(gl: &dyn GlContext, type_: u32, source: &str) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | fn link_program(gl: &GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn link_program(gl: &GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stdout] 98 + fn link_program(gl: &dyn GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | fn build_program(gl: &GlContext, source_vs: &str, source_fs: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 - fn build_program(gl: &GlContext, source_vs: &str, source_fs: &str) [INFO] [stdout] 114 + fn build_program(gl: &dyn GlContext, source_vs: &str, source_fs: &str) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn build_vbo(gl: &GlContext, data: &[T]) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - pub fn build_vbo(gl: &GlContext, data: &[T]) -> Option [INFO] [stdout] 126 + pub fn build_vbo(gl: &dyn GlContext, data: &[T]) -> Option [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 422 | gl: &GlContext, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 422 - gl: &GlContext, [INFO] [stdout] 422 + gl: &dyn GlContext, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | pub fn gen_box(gl: &GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 545 - pub fn gen_box(gl: &GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stdout] 545 + pub fn gen_box(gl: &dyn GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:624:26 [INFO] [stdout] | [INFO] [stdout] 624 | pub fn gen_hud_quad(gl: &GlContext, min: Point2, max: Point2) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 624 - pub fn gen_hud_quad(gl: &GlContext, min: Point2, max: Point2) -> Option { [INFO] [stdout] 624 + pub fn gen_hud_quad(gl: &dyn GlContext, min: Point2, max: Point2) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn wrap(gl: &GlContext, program: WebGlProgram) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - pub fn wrap(gl: &GlContext, program: WebGlProgram) -> Self { [INFO] [stdout] 183 + pub fn wrap(gl: &dyn GlContext, program: WebGlProgram) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:216:29 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn from_source(gl: &GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn from_source(gl: &GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stdout] 216 + pub fn from_source(gl: &dyn GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:220:36 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn use_program(&self, gl: &GlContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - pub fn use_program(&self, gl: &GlContext) { [INFO] [stdout] 220 + pub fn use_program(&self, gl: &dyn GlContext) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:224:61 [INFO] [stdout] | [INFO] [stdout] 224 | fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &GlContext, vertex_attribs: VertexAttribs) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 224 - fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &GlContext, vertex_attribs: VertexAttribs) [INFO] [stdout] 224 + fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &dyn GlContext, vertex_attribs: VertexAttribs) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:264:41 [INFO] [stdout] | [INFO] [stdout] 264 | fn clear_vertex_attribs(&self, gl: &GlContext) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 - fn clear_vertex_attribs(&self, gl: &GlContext) { [INFO] [stdout] 264 + fn clear_vertex_attribs(&self, gl: &dyn GlContext) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn set_attribute(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 273 - pub fn set_attribute(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] 273 + pub fn set_attribute(&self, gl: &dyn GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:317:36 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn set_uniform(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn set_uniform(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] 317 + pub fn set_uniform(&self, gl: &dyn GlContext, name: &str, value: &ConstantValue) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:359:37 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn set_constant(&self, gl: &GlContext, name: &str, value: &Constant) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 359 - pub fn set_constant(&self, gl: &GlContext, name: &str, value: &Constant) { [INFO] [stdout] 359 + pub fn set_constant(&self, gl: &dyn GlContext, name: &str, value: &Constant) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gfx.rs:401:48 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn from_vertices(gl: &GlContext, draw_mode: u32, data: &[V]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 401 - pub fn from_vertices(gl: &GlContext, draw_mode: u32, data: &[V]) [INFO] [stdout] 401 + pub fn from_vertices(gl: &dyn GlContext, draw_mode: u32, data: &[V]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: js-sys v0.3.27 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "acc024e0e57fb0c9f3861a4b37f35292cfe373ed5bf7aa317a4992ac1202084a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acc024e0e57fb0c9f3861a4b37f35292cfe373ed5bf7aa317a4992ac1202084a", kill_on_drop: false }` [INFO] [stdout] acc024e0e57fb0c9f3861a4b37f35292cfe373ed5bf7aa317a4992ac1202084a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 755ace4f02a1acc94b260e8bd4f4ed48fcca136aca382f7f805ea7f244cd7c70 [INFO] running `Command { std: "docker" "start" "-a" "755ace4f02a1acc94b260e8bd4f4ed48fcca136aca382f7f805ea7f244cd7c70", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lib.rs:722:10 [INFO] [stderr] | [INFO] [stderr] 722 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:310:14 [INFO] [stderr] | [INFO] [stderr] 310 | map: Box, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 310 - map: Box, [INFO] [stderr] 310 + map: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/env.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | gl: &GlContext, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - gl: &GlContext, [INFO] [stderr] 45 + gl: &dyn GlContext, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/env.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn new(gl: &GlContext) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 - pub fn new(gl: &GlContext) -> Self { [INFO] [stderr] 69 + pub fn new(gl: &dyn GlContext) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/env.rs:169:14 [INFO] [stderr] | [INFO] [stderr] 169 | gl: &GlContext, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 169 - gl: &GlContext, [INFO] [stderr] 169 + gl: &dyn GlContext, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/env.rs:234:21 [INFO] [stderr] | [INFO] [stderr] 234 | pub fn new(gl: &GlContext) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 234 - pub fn new(gl: &GlContext) -> Self { [INFO] [stderr] 234 + pub fn new(gl: &dyn GlContext) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/env.rs:341:14 [INFO] [stderr] | [INFO] [stderr] 341 | gl: &GlContext, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 341 - gl: &GlContext, [INFO] [stderr] 341 + gl: &dyn GlContext, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gl_context.rs:164:26 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn gl(&self) -> &GlContext { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 164 - pub fn gl(&self) -> &GlContext { [INFO] [stderr] 164 + pub fn gl(&self) -> &dyn GlContext { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:78:22 [INFO] [stderr] | [INFO] [stderr] 78 | fn build_shader(gl: &GlContext, type_: u32, source: &str) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 78 - fn build_shader(gl: &GlContext, type_: u32, source: &str) [INFO] [stderr] 78 + fn build_shader(gl: &dyn GlContext, type_: u32, source: &str) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:98:22 [INFO] [stderr] | [INFO] [stderr] 98 | fn link_program(gl: &GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 - fn link_program(gl: &GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stderr] 98 + fn link_program(gl: &dyn GlContext, program: &WebGlProgram) -> Result<(), ()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:114:23 [INFO] [stderr] | [INFO] [stderr] 114 | fn build_program(gl: &GlContext, source_vs: &str, source_fs: &str) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 114 - fn build_program(gl: &GlContext, source_vs: &str, source_fs: &str) [INFO] [stderr] 114 + fn build_program(gl: &dyn GlContext, source_vs: &str, source_fs: &str) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:126:26 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn build_vbo(gl: &GlContext, data: &[T]) -> Option [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 - pub fn build_vbo(gl: &GlContext, data: &[T]) -> Option [INFO] [stderr] 126 + pub fn build_vbo(gl: &dyn GlContext, data: &[T]) -> Option [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:422:10 [INFO] [stderr] | [INFO] [stderr] 422 | gl: &GlContext, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 422 - gl: &GlContext, [INFO] [stderr] 422 + gl: &dyn GlContext, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:545:21 [INFO] [stderr] | [INFO] [stderr] 545 | pub fn gen_box(gl: &GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 545 - pub fn gen_box(gl: &GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stderr] 545 + pub fn gen_box(gl: &dyn GlContext, min: Point3, max: Point3, uv_scale: f32) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:624:26 [INFO] [stderr] | [INFO] [stderr] 624 | pub fn gen_hud_quad(gl: &GlContext, min: Point2, max: Point2) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 624 - pub fn gen_hud_quad(gl: &GlContext, min: Point2, max: Point2) -> Option { [INFO] [stderr] 624 + pub fn gen_hud_quad(gl: &dyn GlContext, min: Point2, max: Point2) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:183:22 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn wrap(gl: &GlContext, program: WebGlProgram) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 183 - pub fn wrap(gl: &GlContext, program: WebGlProgram) -> Self { [INFO] [stderr] 183 + pub fn wrap(gl: &dyn GlContext, program: WebGlProgram) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:216:29 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn from_source(gl: &GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 216 - pub fn from_source(gl: &GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stderr] 216 + pub fn from_source(gl: &dyn GlContext, source_vs: &str, source_fs: &str) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:220:36 [INFO] [stderr] | [INFO] [stderr] 220 | pub fn use_program(&self, gl: &GlContext) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 220 - pub fn use_program(&self, gl: &GlContext) { [INFO] [stderr] 220 + pub fn use_program(&self, gl: &dyn GlContext) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:224:61 [INFO] [stderr] | [INFO] [stderr] 224 | fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &GlContext, vertex_attribs: VertexAttribs) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 224 - fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &GlContext, vertex_attribs: VertexAttribs) [INFO] [stderr] 224 + fn assign_vertex_attribs<'a, VertexAttribs>(&self, gl: &dyn GlContext, vertex_attribs: VertexAttribs) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:264:41 [INFO] [stderr] | [INFO] [stderr] 264 | fn clear_vertex_attribs(&self, gl: &GlContext) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 264 - fn clear_vertex_attribs(&self, gl: &GlContext) { [INFO] [stderr] 264 + fn clear_vertex_attribs(&self, gl: &dyn GlContext) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:273:38 [INFO] [stderr] | [INFO] [stderr] 273 | pub fn set_attribute(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 273 - pub fn set_attribute(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stderr] 273 + pub fn set_attribute(&self, gl: &dyn GlContext, name: &str, value: &ConstantValue) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:317:36 [INFO] [stderr] | [INFO] [stderr] 317 | pub fn set_uniform(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 317 - pub fn set_uniform(&self, gl: &GlContext, name: &str, value: &ConstantValue) { [INFO] [stderr] 317 + pub fn set_uniform(&self, gl: &dyn GlContext, name: &str, value: &ConstantValue) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:359:37 [INFO] [stderr] | [INFO] [stderr] 359 | pub fn set_constant(&self, gl: &GlContext, name: &str, value: &Constant) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 359 - pub fn set_constant(&self, gl: &GlContext, name: &str, value: &Constant) { [INFO] [stderr] 359 + pub fn set_constant(&self, gl: &dyn GlContext, name: &str, value: &Constant) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/gfx.rs:401:48 [INFO] [stderr] | [INFO] [stderr] 401 | pub fn from_vertices(gl: &GlContext, draw_mode: u32, data: &[V]) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 401 - pub fn from_vertices(gl: &GlContext, draw_mode: u32, data: &[V]) [INFO] [stderr] 401 + pub fn from_vertices(gl: &dyn GlContext, draw_mode: u32, data: &[V]) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `strafe_tutorial` (lib test) generated 24 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: js-sys v0.3.27 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/strafe_tutorial-1f4f5e667a0515c6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "755ace4f02a1acc94b260e8bd4f4ed48fcca136aca382f7f805ea7f244cd7c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "755ace4f02a1acc94b260e8bd4f4ed48fcca136aca382f7f805ea7f244cd7c70", kill_on_drop: false }` [INFO] [stdout] 755ace4f02a1acc94b260e8bd4f4ed48fcca136aca382f7f805ea7f244cd7c70