[INFO] fetching crate binjs_io 0.2.1... [INFO] checking binjs_io-0.2.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate binjs_io 0.2.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate binjs_io 0.2.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate binjs_io 0.2.1 [INFO] finished tweaking crates.io crate binjs_io 0.2.1 [INFO] tweaked toml for crates.io crate binjs_io 0.2.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4910eb5aed3484e180ecac0ffcbb06242227d6bc17cdecb5f9ba19f05a58a4d5 [INFO] running `Command { std: "docker" "start" "-a" "4910eb5aed3484e180ecac0ffcbb06242227d6bc17cdecb5f9ba19f05a58a4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4910eb5aed3484e180ecac0ffcbb06242227d6bc17cdecb5f9ba19f05a58a4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4910eb5aed3484e180ecac0ffcbb06242227d6bc17cdecb5f9ba19f05a58a4d5", kill_on_drop: false }` [INFO] [stdout] 4910eb5aed3484e180ecac0ffcbb06242227d6bc17cdecb5f9ba19f05a58a4d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 828c1c26322aef8f10c53f517ba1bdfe2cbf598279739bdc560acf26ccb26200 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "828c1c26322aef8f10c53f517ba1bdfe2cbf598279739bdc560acf26ccb26200", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking clap v2.33.3 [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] Checking range-encoding v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Checking binjs_shared v0.1.1 [INFO] [stderr] Checking binjs_io v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lzw` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | use lzw; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate lzw; [INFO] [stdout] | ----------------- the item `lzw` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lzw` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | use lzw; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate lzw; [INFO] [stdout] | ----------------- the item `lzw` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/bytes/serialize.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn write(&mut self, data: &T, &mut W) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/bytes/serialize.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | fn read(&self, &mut R) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/io/deprecated.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn list(&mut self, Vec) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lzw` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | use lzw; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate lzw; [INFO] [stdout] | ----------------- the item `lzw` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `flate2` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | use flate2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate flate2; [INFO] [stdout] | -------------------- the item `flate2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `lzw` is imported redundantly [INFO] [stdout] --> src/bytes/compress.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | use lzw; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate lzw; [INFO] [stdout] | ----------------- the item `lzw` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/bytes/serialize.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | fn write(&mut self, data: &T, &mut W) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/mod.rs:404:41 [INFO] [stdout] | [INFO] [stdout] 404 | fn make(&self, writer: W) -> Box> where W: TokenWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RootedTokenSerializer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/bytes/serialize.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | fn read(&self, &mut R) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/io/mod.rs:408:31 [INFO] [stdout] | [INFO] [stdout] 408 | fn deserialize(&mut self, &mut Path) -> Result; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Path` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/io/deprecated.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn list(&mut self, Vec) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/io/mod.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 411 | fn deserialize_inner(&mut self, &mut Path) -> Result; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Path` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/mod.rs:404:41 [INFO] [stdout] | [INFO] [stdout] 404 | fn make(&self, writer: W) -> Box> where W: TokenWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RootedTokenSerializer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/simple.rs:565:35 [INFO] [stdout] | [INFO] [stdout] 565 | fn extend_from_str(&mut self, &str); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/io/mod.rs:408:31 [INFO] [stdout] | [INFO] [stdout] 408 | fn deserialize(&mut self, &mut Path) -> Result; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Path` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/multipart/write.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, &mut W) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/io/mod.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 411 | fn deserialize_inner(&mut self, &mut Path) -> Result; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Path` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/simple.rs:565:35 [INFO] [stdout] | [INFO] [stdout] 565 | fn extend_from_str(&mut self, &str); [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/multipart/write.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | fn write(&self, &mut W) -> Result; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Statistics` is imported redundantly [INFO] [stdout] --> src/multipart/mod.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub use self::write::{ Statistics, TreeTokenWriter, Targets }; [INFO] [stdout] | ---------- the item `Statistics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 166 | use multipart::{ Statistics, Targets }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Statistics` is imported redundantly [INFO] [stdout] --> src/multipart/mod.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub use self::write::{ Statistics, TreeTokenWriter, Targets }; [INFO] [stdout] | ---------- the item `Statistics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 166 | use multipart::{ Statistics, Targets }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Targets` is imported redundantly [INFO] [stdout] --> src/multipart/mod.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 143 | pub use self::write::{ Statistics, TreeTokenWriter, Targets }; [INFO] [stdout] | ------- the item `Targets` is already imported here [INFO] [stdout] ... [INFO] [stdout] 166 | use multipart::{ Statistics, Targets }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/entropy/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bincode; // Used to store dictionaries. This is a temporary format. [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | 0...9 => b'0' + n, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 0xa...0xf => b'A' + (n - 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | b'0'...b'9' => (n - b'0') as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | b'A'...b'F' => (n - b'A' + 10) as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | b'a'...b'f' => (n - b'a' + 10) as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:221:49 [INFO] [stdout] | [INFO] [stdout] 221 | Rc::new(|_| Format::simple()) as Rc Format>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut R) -> Format` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let pick : Rc Format> = generators.choose(rng) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut R) -> Format` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | fn providers() -> [&'static FormatProvider; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FormatProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | fn default_provider() -> &'static FormatProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FormatProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Targets` is imported redundantly [INFO] [stdout] --> src/multipart/mod.rs:166:38 [INFO] [stdout] | [INFO] [stdout] 143 | pub use self::write::{ Statistics, TreeTokenWriter, Targets }; [INFO] [stdout] | ------- the item `Targets` is already imported here [INFO] [stdout] ... [INFO] [stdout] 166 | use multipart::{ Statistics, Targets }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/entropy/mod.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate bincode; // Used to store dictionaries. This is a temporary format. [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | 0...9 => b'0' + n, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 0xa...0xf => b'A' + (n - 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | b'0'...b'9' => (n - b'0') as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | b'A'...b'F' => (n - b'A' + 10) as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/escaped_wtf8.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | b'a'...b'f' => (n - b'a' + 10) as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:221:49 [INFO] [stdout] | [INFO] [stdout] 221 | Rc::new(|_| Format::simple()) as Rc Format>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut R) -> Format` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let pick : Rc Format> = generators.choose(rng) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut R) -> Format` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:309:32 [INFO] [stdout] | [INFO] [stdout] 309 | fn providers() -> [&'static FormatProvider; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FormatProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | fn default_provider() -> &'static FormatProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FormatProvider` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multipart/read.rs:383:56 [INFO] [stdout] | [INFO] [stdout] 383 | let mut buf : [u8; 8] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multipart/read.rs:414:56 [INFO] [stdout] | [INFO] [stdout] 414 | let mut buf : [u8; 1] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multipart/read.rs:383:56 [INFO] [stdout] | [INFO] [stdout] 383 | let mut buf : [u8; 8] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multipart/read.rs:414:56 [INFO] [stdout] | [INFO] [stdout] 414 | let mut buf : [u8; 1] = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multipart/mod.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut path = Path::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/multipart/read.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | parent: TrivialGuard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_resize_default` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(vec_resize_default)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/lib.rs:340:47 [INFO] [stdout] | [INFO] [stdout] 340 | for provider in Self::providers().into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 340 | for provider in Self::providers().iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 340 | for provider in Self::providers() { [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `binjs_io` due to 2 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/multipart/read.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | parent: TrivialGuard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `vec_resize_default` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(vec_resize_default)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/lib.rs:340:47 [INFO] [stdout] | [INFO] [stdout] 340 | for provider in Self::providers().into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 340 | for provider in Self::providers().iter() { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 340 | for provider in Self::providers() { [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "828c1c26322aef8f10c53f517ba1bdfe2cbf598279739bdc560acf26ccb26200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828c1c26322aef8f10c53f517ba1bdfe2cbf598279739bdc560acf26ccb26200", kill_on_drop: false }` [INFO] [stdout] 828c1c26322aef8f10c53f517ba1bdfe2cbf598279739bdc560acf26ccb26200