[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] checking SallySoul/ete/c2d5004cec8496564564916f5193a0db9baebbec against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [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 ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.48 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.48 [INFO] [stderr] Downloaded getset v0.0.7 [INFO] [stderr] Downloaded assert v0.7.4 [INFO] [stderr] Downloaded camera_ss v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.48 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.48 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.48 [INFO] [stderr] Downloaded bumpalo v2.5.0 [INFO] [stderr] Downloaded js-sys v0.3.25 [INFO] [stderr] Downloaded wasm-bindgen v0.2.48 [INFO] [stderr] Downloaded web-sys v0.3.25 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99d313705cc1f120b7931ad6bb39081e182344c7f665eb6d8f416e6b1dd51f3b [INFO] running `Command { std: "docker" "start" "-a" "99d313705cc1f120b7931ad6bb39081e182344c7f665eb6d8f416e6b1dd51f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99d313705cc1f120b7931ad6bb39081e182344c7f665eb6d8f416e6b1dd51f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d313705cc1f120b7931ad6bb39081e182344c7f665eb6d8f416e6b1dd51f3b", kill_on_drop: false }` [INFO] [stdout] 99d313705cc1f120b7931ad6bb39081e182344c7f665eb6d8f416e6b1dd51f3b [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69fec997a997e34791712c85fe13de8ffd4873ff6d3584d3f5e8f026996e464f [INFO] running `Command { std: "docker" "start" "-a" "69fec997a997e34791712c85fe13de8ffd4873ff6d3584d3f5e8f026996e464f", 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] Checking rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling bumpalo v2.5.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 failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.48 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling sourcefile v0.1.4 [INFO] [stderr] Checking assert v0.7.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling weedle v0.10.0 [INFO] [stderr] Checking approx v0.3.2 [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 wasm-bindgen-macro-support v0.2.48 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Checking camera_ss v0.1.1 [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] Checking js-sys v0.3.25 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking 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: 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 an object-safe 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 an object-safe 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/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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: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 an object-safe 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: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 an object-safe 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 an object-safe 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: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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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/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 an object-safe 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 an object-safe 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 an object-safe 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: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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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: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 an object-safe 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: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 an object-safe 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: 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 an object-safe 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 an object-safe 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 an object-safe 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 `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: 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: 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] [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] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.92s [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 2` [INFO] running `Command { std: "docker" "inspect" "69fec997a997e34791712c85fe13de8ffd4873ff6d3584d3f5e8f026996e464f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69fec997a997e34791712c85fe13de8ffd4873ff6d3584d3f5e8f026996e464f", kill_on_drop: false }` [INFO] [stdout] 69fec997a997e34791712c85fe13de8ffd4873ff6d3584d3f5e8f026996e464f