[INFO] cloning repository https://github.com/SallySoul/ete [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SallySoul/ete" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSallySoul%2Fete", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSallySoul%2Fete'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2d5004cec8496564564916f5193a0db9baebbec [INFO] testing SallySoul/ete against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSallySoul%2Fete" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SallySoul/ete on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SallySoul/ete [INFO] finished tweaking git repo https://github.com/SallySoul/ete [INFO] tweaked toml for git repo https://github.com/SallySoul/ete written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SallySoul/ete already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.48 [INFO] [stderr] Downloaded assert v0.7.4 [INFO] [stderr] Downloaded getset v0.0.7 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.48 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.48 [INFO] [stderr] Downloaded rustc-demangle v0.1.15 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.48 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.48 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded js-sys v0.3.25 [INFO] [stderr] Downloaded unicode-segmentation v1.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.48 [INFO] [stderr] Downloaded bumpalo v2.5.0 [INFO] [stderr] Downloaded syn v0.15.42 [INFO] [stderr] Downloaded web-sys v0.3.25 [INFO] [stderr] Downloaded camera_ss v0.1.1 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5487df226fbd4e29d15c53375d183bc12fab05485e5f9e5f659f7b223afc3b3d [INFO] running `Command { std: "docker" "start" "-a" "5487df226fbd4e29d15c53375d183bc12fab05485e5f9e5f659f7b223afc3b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5487df226fbd4e29d15c53375d183bc12fab05485e5f9e5f659f7b223afc3b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5487df226fbd4e29d15c53375d183bc12fab05485e5f9e5f659f7b223afc3b3d", kill_on_drop: false }` [INFO] [stdout] 5487df226fbd4e29d15c53375d183bc12fab05485e5f9e5f659f7b223afc3b3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d9a21deaf946888e771fc89eb5dbe5eb986d3ec5ce728c9664751105d4c1546 [INFO] running `Command { std: "docker" "start" "-a" "3d9a21deaf946888e771fc89eb5dbe5eb986d3ec5ce728c9664751105d4c1546", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.48 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling bumpalo v2.5.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.48 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling assert v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.48 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling getset v0.0.7 [INFO] [stderr] Compiling camera_ss v0.1.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.48 [INFO] [stderr] Compiling wasm-bindgen-webidl v0.2.48 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.48 [INFO] [stderr] Compiling web-sys v0.3.25 [INFO] [stderr] Compiling js-sys v0.3.25 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling ete v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console::log_1` [INFO] [stdout] --> src/render/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console::log_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | closure: Closure, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 | closure: Closure, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | closure: Closure, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 | closure: Closure, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:66:58 [INFO] [stdout] | [INFO] [stdout] 66 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:82:58 [INFO] [stdout] | [INFO] [stdout] 82 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:97:58 [INFO] [stdout] | [INFO] [stdout] 97 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:129:58 [INFO] [stdout] | [INFO] [stdout] 129 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:157:58 [INFO] [stdout] | [INFO] [stdout] 157 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 106 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:146:58 [INFO] [stdout] | [INFO] [stdout] 146 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/render/color.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BLACK: Color = Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_floats` is never used [INFO] [stdout] --> src/render/color.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Color { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 42 | pub fn from_floats(r: f32, g: f32, b: f32, a: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WIDTH` is never used [INFO] [stdout] --> src/render/point_system.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const DEFAULT_WIDTH: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_COLOR` is never used [INFO] [stdout] --> src/render/point_system.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEFAULT_COLOR: Color = color::BLACK; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_POINTS_PER_BUFFER` is never used [INFO] [stdout] --> src/render/point_system.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MAX_POINTS_PER_BUFFER: usize = (u16::max_value() / 20) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointSystemBuilder` is never constructed [INFO] [stdout] --> src/render/point_system.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PointSystemBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_radius`, `set_color`, `add_point`, and `finish` are never used [INFO] [stdout] --> src/render/point_system.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> PointSystemBuilder<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(gl_context: &'a WebGlRenderingContext) -> PointSystemBuilder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_radius(&mut self, radius: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_point(&mut self, position: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn finish(mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointBuffer` is never constructed [INFO] [stdout] --> src/render/point_system.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct PointBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/point_system.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl PointBuffer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 137 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointSystem` is never constructed [INFO] [stdout] --> src/render/point_system.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct PointSystem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/render/point_system.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl PointSystem { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 158 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BillBoard` is never constructed [INFO] [stdout] --> src/shader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShaderKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | BillBoard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board_position_attribute`, `board_center_attribute`, `color_uniform`, `camera_up_uniform`, `camera_right_uniform`, and `worldspace_transform_uniform` are never read [INFO] [stdout] --> src/shader/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct BillBoardShader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 39 | program: WebGlProgram, [INFO] [stdout] 40 | pub board_position_attribute: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub board_center_attribute: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub color_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub camera_up_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub camera_right_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub worldspace_transform_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.48 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3d9a21deaf946888e771fc89eb5dbe5eb986d3ec5ce728c9664751105d4c1546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9a21deaf946888e771fc89eb5dbe5eb986d3ec5ce728c9664751105d4c1546", kill_on_drop: false }` [INFO] [stdout] 3d9a21deaf946888e771fc89eb5dbe5eb986d3ec5ce728c9664751105d4c1546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86f6d6c5ec322532da23407f7ce7f1540133c7de02b761270babcfc685fdde8b [INFO] running `Command { std: "docker" "start" "-a" "86f6d6c5ec322532da23407f7ce7f1540133c7de02b761270babcfc685fdde8b", kill_on_drop: false }` [INFO] [stderr] Compiling ete v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `web_sys::console::log_1` [INFO] [stdout] --> src/render/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys::console::log_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | closure: Closure, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 | closure: Closure, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | closure: Closure, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 | closure: Closure, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:66:58 [INFO] [stdout] | [INFO] [stdout] 66 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:82:58 [INFO] [stdout] | [INFO] [stdout] 82 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:97:58 [INFO] [stdout] | [INFO] [stdout] 97 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:114:58 [INFO] [stdout] | [INFO] [stdout] 114 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:129:58 [INFO] [stdout] | [INFO] [stdout] 129 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:145:58 [INFO] [stdout] | [INFO] [stdout] 145 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/canvas.rs:157:58 [INFO] [stdout] | [INFO] [stdout] 157 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:65:58 [INFO] [stdout] | [INFO] [stdout] 65 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 106 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:126:58 [INFO] [stdout] | [INFO] [stdout] 126 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/controls.rs:146:58 [INFO] [stdout] | [INFO] [stdout] 146 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/render/color.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BLACK: Color = Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_floats` is never used [INFO] [stdout] --> src/render/color.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Color { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 42 | pub fn from_floats(r: f32, g: f32, b: f32, a: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_WIDTH` is never used [INFO] [stdout] --> src/render/point_system.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const DEFAULT_WIDTH: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_COLOR` is never used [INFO] [stdout] --> src/render/point_system.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEFAULT_COLOR: Color = color::BLACK; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_POINTS_PER_BUFFER` is never used [INFO] [stdout] --> src/render/point_system.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const MAX_POINTS_PER_BUFFER: usize = (u16::max_value() / 20) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointSystemBuilder` is never constructed [INFO] [stdout] --> src/render/point_system.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PointSystemBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_radius`, `set_color`, `add_point`, and `finish` are never used [INFO] [stdout] --> src/render/point_system.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> PointSystemBuilder<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(gl_context: &'a WebGlRenderingContext) -> PointSystemBuilder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn set_radius(&mut self, radius: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_point(&mut self, position: [f32; 3]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn finish(mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointBuffer` is never constructed [INFO] [stdout] --> src/render/point_system.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct PointBuffer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render/point_system.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl PointBuffer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 137 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PointSystem` is never constructed [INFO] [stdout] --> src/render/point_system.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct PointSystem { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/render/point_system.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl PointSystem { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 158 | pub fn render( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BillBoard` is never constructed [INFO] [stdout] --> src/shader/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShaderKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | BillBoard, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board_position_attribute`, `board_center_attribute`, `color_uniform`, `camera_up_uniform`, `camera_right_uniform`, and `worldspace_transform_uniform` are never read [INFO] [stdout] --> src/shader/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct BillBoardShader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 39 | program: WebGlProgram, [INFO] [stdout] 40 | pub board_position_attribute: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub board_center_attribute: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub color_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub camera_up_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub camera_right_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub worldspace_transform_uniform: WebGlUniformLocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.48 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "86f6d6c5ec322532da23407f7ce7f1540133c7de02b761270babcfc685fdde8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f6d6c5ec322532da23407f7ce7f1540133c7de02b761270babcfc685fdde8b", kill_on_drop: false }` [INFO] [stdout] 86f6d6c5ec322532da23407f7ce7f1540133c7de02b761270babcfc685fdde8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb39b75068f07bfdb28095a372e5c683c27ca687a502b0d3fde4d7fb770890d2 [INFO] running `Command { std: "docker" "start" "-a" "fb39b75068f07bfdb28095a372e5c683c27ca687a502b0d3fde4d7fb770890d2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `web_sys::console::log_1` [INFO] [stderr] --> src/render/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use web_sys::console::log_1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls.rs:167:22 [INFO] [stderr] | [INFO] [stderr] 167 | closure: Closure, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 167 | closure: Closure, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls.rs:203:22 [INFO] [stderr] | [INFO] [stderr] 203 | closure: Closure, [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 203 | closure: Closure, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canvas.rs:66:58 [INFO] [stderr] | [INFO] [stderr] 66 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canvas.rs:82:58 [INFO] [stderr] | [INFO] [stderr] 82 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 82 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canvas.rs:97:58 [INFO] [stderr] | [INFO] [stderr] 97 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 97 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canvas.rs:114:58 [INFO] [stderr] | [INFO] [stderr] 114 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 114 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canvas.rs:129:58 [INFO] [stderr] | [INFO] [stderr] 129 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 129 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canvas.rs:145:58 [INFO] [stderr] | [INFO] [stderr] 145 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 145 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/canvas.rs:157:58 [INFO] [stderr] | [INFO] [stderr] 157 | let handler = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 157 | let handler = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls.rs:65:58 [INFO] [stderr] | [INFO] [stderr] 65 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls.rs:84:58 [INFO] [stderr] | [INFO] [stderr] 84 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls.rs:106:58 [INFO] [stderr] | [INFO] [stderr] 106 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 106 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls.rs:126:58 [INFO] [stderr] | [INFO] [stderr] 126 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/controls.rs:146:58 [INFO] [stderr] | [INFO] [stderr] 146 | let closure = Closure::wrap(Box::new(handler) as Box); [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 146 | let closure = Closure::wrap(Box::new(handler) as Box); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: constant `BLACK` is never used [INFO] [stderr] --> src/render/color.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | pub const BLACK: Color = Color { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_floats` is never used [INFO] [stderr] --> src/render/color.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 41 | impl Color { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 42 | pub fn from_floats(r: f32, g: f32, b: f32, a: f32) -> Color { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_WIDTH` is never used [INFO] [stderr] --> src/render/point_system.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | const DEFAULT_WIDTH: f32 = 1.0; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_COLOR` is never used [INFO] [stderr] --> src/render/point_system.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | const DEFAULT_COLOR: Color = color::BLACK; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_POINTS_PER_BUFFER` is never used [INFO] [stderr] --> src/render/point_system.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | const MAX_POINTS_PER_BUFFER: usize = (u16::max_value() / 20) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PointSystemBuilder` is never constructed [INFO] [stderr] --> src/render/point_system.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct PointSystemBuilder<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `set_radius`, `set_color`, `add_point`, and `finish` are never used [INFO] [stderr] --> src/render/point_system.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl<'a> PointSystemBuilder<'a> { [INFO] [stderr] | ------------------------------- associated items in this implementation [INFO] [stderr] 26 | pub fn new(gl_context: &'a WebGlRenderingContext) -> PointSystemBuilder<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn set_radius(&mut self, radius: f32) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn set_color(&mut self, color: Color) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn add_point(&mut self, position: [f32; 3]) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn finish(mut self) -> Result { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PointBuffer` is never constructed [INFO] [stderr] --> src/render/point_system.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | pub struct PointBuffer { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/render/point_system.rs:137:8 [INFO] [stderr] | [INFO] [stderr] 136 | impl PointBuffer { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 137 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PointSystem` is never constructed [INFO] [stderr] --> src/render/point_system.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | pub struct PointSystem { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `render` is never used [INFO] [stderr] --> src/render/point_system.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 157 | impl PointSystem { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 158 | pub fn render( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `BillBoard` is never constructed [INFO] [stderr] --> src/shader/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum ShaderKind { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 16 | BillBoard, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ShaderKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `board_position_attribute`, `board_center_attribute`, `color_uniform`, `camera_up_uniform`, `camera_right_uniform`, and `worldspace_transform_uniform` are never read [INFO] [stderr] --> src/shader/mod.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct BillBoardShader { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 39 | program: WebGlProgram, [INFO] [stderr] 40 | pub board_position_attribute: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 41 | pub board_center_attribute: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 42 | pub color_uniform: WebGlUniformLocation, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 43 | pub camera_up_uniform: WebGlUniformLocation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 44 | pub camera_right_uniform: WebGlUniformLocation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | pub worldspace_transform_uniform: WebGlUniformLocation, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ete` (lib test) generated 28 warnings (run `cargo fix --lib -p ete --tests` to apply 15 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, wasm-bindgen v0.2.48 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ete-f96ee2e70eacf7cb) [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" "fb39b75068f07bfdb28095a372e5c683c27ca687a502b0d3fde4d7fb770890d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb39b75068f07bfdb28095a372e5c683c27ca687a502b0d3fde4d7fb770890d2", kill_on_drop: false }` [INFO] [stdout] fb39b75068f07bfdb28095a372e5c683c27ca687a502b0d3fde4d7fb770890d2