[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chardet v0.2.4 [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" "+1.60.0" "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] bef9cbdfaa82d266a8598243dfc95a4c7c7919b036d9cdbc5f0074016ac81989 [INFO] running `Command { std: "docker" "start" "-a" "bef9cbdfaa82d266a8598243dfc95a4c7c7919b036d9cdbc5f0074016ac81989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bef9cbdfaa82d266a8598243dfc95a4c7c7919b036d9cdbc5f0074016ac81989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef9cbdfaa82d266a8598243dfc95a4c7c7919b036d9cdbc5f0074016ac81989", kill_on_drop: false }` [INFO] [stdout] bef9cbdfaa82d266a8598243dfc95a4c7c7919b036d9cdbc5f0074016ac81989 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ae22d386693fe9b510af05e2f2201a4dfcc98b01dc2731197302b3377b7ad6b [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" "3ae22d386693fe9b510af05e2f2201a4dfcc98b01dc2731197302b3377b7ad6b", 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.66s [INFO] running `Command { std: "docker" "inspect" "3ae22d386693fe9b510af05e2f2201a4dfcc98b01dc2731197302b3377b7ad6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ae22d386693fe9b510af05e2f2201a4dfcc98b01dc2731197302b3377b7ad6b", kill_on_drop: false }` [INFO] [stdout] 3ae22d386693fe9b510af05e2f2201a4dfcc98b01dc2731197302b3377b7ad6b [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" "+1.60.0" "test" "--frozen" "--no-run" "--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] 8cb5dfdfc6e98ca5124b8017761b49ea75e09c86aadcff1af05f1c26e74829c1 [INFO] running `Command { std: "docker" "start" "-a" "8cb5dfdfc6e98ca5124b8017761b49ea75e09c86aadcff1af05f1c26e74829c1", 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.16s [INFO] running `Command { std: "docker" "inspect" "8cb5dfdfc6e98ca5124b8017761b49ea75e09c86aadcff1af05f1c26e74829c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb5dfdfc6e98ca5124b8017761b49ea75e09c86aadcff1af05f1c26e74829c1", kill_on_drop: false }` [INFO] [stdout] 8cb5dfdfc6e98ca5124b8017761b49ea75e09c86aadcff1af05f1c26e74829c1 [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" "+1.60.0" "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] 30d146cc4500f205f4a79a4d8a82c1119a2bc4c4482b18bf07d79b5f92e0fade [INFO] running `Command { std: "docker" "start" "-a" "30d146cc4500f205f4a79a4d8a82c1119a2bc4c4482b18bf07d79b5f92e0fade", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:111:31 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 111 | fn check_utf8mb4(reader: &mut Read) { [INFO] [stdout] [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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/enctool-f1cb7edb41d63a68) [INFO] running `Command { std: "docker" "inspect" "30d146cc4500f205f4a79a4d8a82c1119a2bc4c4482b18bf07d79b5f92e0fade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d146cc4500f205f4a79a4d8a82c1119a2bc4c4482b18bf07d79b5f92e0fade", kill_on_drop: false }` [INFO] [stdout] 30d146cc4500f205f4a79a4d8a82c1119a2bc4c4482b18bf07d79b5f92e0fade