[INFO] cloning repository https://github.com/Widen/enctool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Widen/enctool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWiden%2Fenctool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWiden%2Fenctool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1af758fee4f969ff873235bf7561f9e36c7b94bd [INFO] testing Widen/enctool against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWiden%2Fenctool" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Widen/enctool on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Widen/enctool [INFO] finished tweaking git repo https://github.com/Widen/enctool [INFO] tweaked toml for git repo https://github.com/Widen/enctool written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] ce7b3f1ee854e4cdbffdbb90022e01554f6b6242ee1c7d157e5a01890c4a47d6 [INFO] running `Command { std: "docker" "start" "-a" "ce7b3f1ee854e4cdbffdbb90022e01554f6b6242ee1c7d157e5a01890c4a47d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce7b3f1ee854e4cdbffdbb90022e01554f6b6242ee1c7d157e5a01890c4a47d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7b3f1ee854e4cdbffdbb90022e01554f6b6242ee1c7d157e5a01890c4a47d6", kill_on_drop: false }` [INFO] [stdout] ce7b3f1ee854e4cdbffdbb90022e01554f6b6242ee1c7d157e5a01890c4a47d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] e484729cfc7ee3ad25268f68ddb0e7fc3e24c9552336c6f44a1f7f54aeba7f23 [INFO] running `Command { std: "docker" "start" "-a" "e484729cfc7ee3ad25268f68ddb0e7fc3e24c9552336c6f44a1f7f54aeba7f23", kill_on_drop: false }` [INFO] [stderr] Compiling chardet v0.2.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling enctool v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn check_utf8mb4(reader: &mut Read) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn check_utf8mb4(reader: &mut Read) { [INFO] [stdout] 111 + fn check_utf8mb4(reader: &mut dyn Read) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut dyn Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut Read, src: &dyn Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut dyn Write, dest: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:78 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &dyn Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/guess.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn guess(reader: &mut Read) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn guess(reader: &mut Read) -> Option { [INFO] [stdout] 6 + pub fn guess(reader: &mut dyn Read) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/validate.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] 6 + pub fn validate(reader: &mut dyn Read, encoding: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/validate.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] 6 + pub fn validate(reader: &mut Read, encoding: &dyn Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | let mut input: Box = match matches.opt_str("input") { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - let mut input: Box = match matches.opt_str("input") { [INFO] [stdout] 51 + let mut input: Box = match matches.opt_str("input") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | let mut output: Box = match matches.opt_str("output") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - let mut output: Box = match matches.opt_str("output") { [INFO] [stdout] 98 + let mut output: Box = match matches.opt_str("output") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => panic!(e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => panic!("{}", e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "e484729cfc7ee3ad25268f68ddb0e7fc3e24c9552336c6f44a1f7f54aeba7f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e484729cfc7ee3ad25268f68ddb0e7fc3e24c9552336c6f44a1f7f54aeba7f23", kill_on_drop: false }` [INFO] [stdout] e484729cfc7ee3ad25268f68ddb0e7fc3e24c9552336c6f44a1f7f54aeba7f23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58fa44b60e0129ca7be668da008743fcec15a7b6b9ee40e39de67d14ec2527fb [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" "58fa44b60e0129ca7be668da008743fcec15a7b6b9ee40e39de67d14ec2527fb", kill_on_drop: false }` [INFO] [stderr] Compiling enctool v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn check_utf8mb4(reader: &mut Read) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn check_utf8mb4(reader: &mut Read) { [INFO] [stdout] 111 + fn check_utf8mb4(reader: &mut dyn Read) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut dyn Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut Read, src: &dyn Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut dyn Write, dest: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/convert.rs:6:78 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stdout] 6 + pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &dyn Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/guess.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn guess(reader: &mut Read) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn guess(reader: &mut Read) -> Option { [INFO] [stdout] 6 + pub fn guess(reader: &mut dyn Read) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/validate.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] 6 + pub fn validate(reader: &mut dyn Read, encoding: &Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/validate.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stdout] 6 + pub fn validate(reader: &mut Read, encoding: &dyn Encoding) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | let mut input: Box = match matches.opt_str("input") { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - let mut input: Box = match matches.opt_str("input") { [INFO] [stdout] 51 + let mut input: Box = match matches.opt_str("input") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | let mut output: Box = match matches.opt_str("output") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - let mut output: Box = match matches.opt_str("output") { [INFO] [stdout] 98 + let mut output: Box = match matches.opt_str("output") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => panic!(e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 29 | Err(e) => panic!("{}", e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.05s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/enctool-beb217db3c4f6770) [INFO] running `Command { std: "docker" "inspect" "58fa44b60e0129ca7be668da008743fcec15a7b6b9ee40e39de67d14ec2527fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58fa44b60e0129ca7be668da008743fcec15a7b6b9ee40e39de67d14ec2527fb", kill_on_drop: false }` [INFO] [stdout] 58fa44b60e0129ca7be668da008743fcec15a7b6b9ee40e39de67d14ec2527fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] 61d62baa209c111a977b191090e8681632b8af5786a626630b47e318172d0513 [INFO] running `Command { std: "docker" "start" "-a" "61d62baa209c111a977b191090e8681632b8af5786a626630b47e318172d0513", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:111:31 [INFO] [stderr] | [INFO] [stderr] 111 | fn check_utf8mb4(reader: &mut Read) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 111 - fn check_utf8mb4(reader: &mut Read) { [INFO] [stderr] 111 + fn check_utf8mb4(reader: &mut dyn Read) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/convert.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] 6 + pub fn convert(reader: &mut dyn Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/convert.rs:6:41 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] 6 + pub fn convert(reader: &mut Read, src: &dyn Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/convert.rs:6:64 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] 6 + pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut dyn Write, dest: &Encoding) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/convert.rs:6:78 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &Encoding) { [INFO] [stderr] 6 + pub fn convert(reader: &mut Read, src: &Encoding, writer: &mut Write, dest: &dyn Encoding) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/guess.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn guess(reader: &mut Read) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn guess(reader: &mut Read) -> Option { [INFO] [stderr] 6 + pub fn guess(reader: &mut dyn Read) -> Option { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/validate.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stderr] 6 + pub fn validate(reader: &mut dyn Read, encoding: &Encoding) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/validate.rs:6:47 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub fn validate(reader: &mut Read, encoding: &Encoding) { [INFO] [stderr] 6 + pub fn validate(reader: &mut Read, encoding: &dyn Encoding) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | let mut input: Box = match matches.opt_str("input") { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - let mut input: Box = match matches.opt_str("input") { [INFO] [stderr] 51 + let mut input: Box = match matches.opt_str("input") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:98:29 [INFO] [stderr] | [INFO] [stderr] 98 | let mut output: Box = match matches.opt_str("output") { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 - let mut output: Box = match matches.opt_str("output") { [INFO] [stderr] 98 + let mut output: Box = match matches.opt_str("output") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | Err(e) => panic!(e.to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 29 | Err(e) => panic!("{}", e.to_string()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `enctool` (bin "enctool" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/enctool-beb217db3c4f6770) [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" "61d62baa209c111a977b191090e8681632b8af5786a626630b47e318172d0513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61d62baa209c111a977b191090e8681632b8af5786a626630b47e318172d0513", kill_on_drop: false }` [INFO] [stdout] 61d62baa209c111a977b191090e8681632b8af5786a626630b47e318172d0513