[INFO] cloning repository https://github.com/scode/tunytools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scode/tunytools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscode%2Ftunytools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscode%2Ftunytools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f11c3dc39473842d3b2e76c7919a83eceb5253e4 [INFO] testing scode/tunytools 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%2Fscode%2Ftunytools" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scode/tunytools 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/scode/tunytools [INFO] finished tweaking git repo https://github.com/scode/tunytools [INFO] tweaked toml for git repo https://github.com/scode/tunytools written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/scode/tunytools already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] b88fff9266e487a24588670e21176fcc906df11839cb5fe734850038fd78909f [INFO] running `Command { std: "docker" "start" "-a" "b88fff9266e487a24588670e21176fcc906df11839cb5fe734850038fd78909f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88fff9266e487a24588670e21176fcc906df11839cb5fe734850038fd78909f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88fff9266e487a24588670e21176fcc906df11839cb5fe734850038fd78909f", kill_on_drop: false }` [INFO] [stdout] b88fff9266e487a24588670e21176fcc906df11839cb5fe734850038fd78909f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] df91882fdad565ee994856335934c515d73d66c76e7a39dfc6382025b63198fa [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" "df91882fdad565ee994856335934c515d73d66c76e7a39dfc6382025b63198fa", kill_on_drop: false }` [INFO] [stderr] Compiling tunytools v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bin/countlines.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => panic!(f.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] 17 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn numstats() -> Result<(), Box> { [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] 36 - fn numstats() -> Result<(), Box> { [INFO] [stdout] 36 + fn numstats() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:102:65 [INFO] [stdout] | [INFO] [stdout] 102 | fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] 102 + fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] 102 + fn read_floats(input: &mut dyn io::BufRead) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/numstats.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | let ns: Result, Box> = 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] 103 - let ns: Result, Box> = input [INFO] [stdout] 103 + let ns: Result, Box> = input [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|line| -> Result> { Ok(line?.parse::()?) }) [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] 105 - .map(|line| -> Result> { Ok(line?.parse::()?) }) [INFO] [stdout] 105 + .map(|line| -> Result> { Ok(line?.parse::()?) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "df91882fdad565ee994856335934c515d73d66c76e7a39dfc6382025b63198fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df91882fdad565ee994856335934c515d73d66c76e7a39dfc6382025b63198fa", kill_on_drop: false }` [INFO] [stdout] df91882fdad565ee994856335934c515d73d66c76e7a39dfc6382025b63198fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] a5b77734fe5b6b6415ea9cbda7f67fcaa15e787708baf74b4e0147dfad6d43a2 [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" "a5b77734fe5b6b6415ea9cbda7f67fcaa15e787708baf74b4e0147dfad6d43a2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tunytools v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bin/countlines.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => panic!(f.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] 17 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | fn numstats() -> Result<(), Box> { [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] 36 - fn numstats() -> Result<(), Box> { [INFO] [stdout] 36 + fn numstats() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:102:65 [INFO] [stdout] | [INFO] [stdout] 102 | fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] 102 + fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stdout] 102 + fn read_floats(input: &mut dyn io::BufRead) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/numstats.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | let ns: Result, Box> = 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] 103 - let ns: Result, Box> = input [INFO] [stdout] 103 + let ns: Result, Box> = input [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/numstats.rs:105:40 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|line| -> Result> { Ok(line?.parse::()?) }) [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] 105 - .map(|line| -> Result> { Ok(line?.parse::()?) }) [INFO] [stdout] 105 + .map(|line| -> Result> { Ok(line?.parse::()?) }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.21s [INFO] [stderr] Executable unittests src/bin/countlines.rs (/opt/rustwide/target/debug/deps/countlines-6c428764278528ce) [INFO] [stderr] Executable unittests src/bin/numstats.rs (/opt/rustwide/target/debug/deps/numstats-e48cd53d78f4726d) [INFO] running `Command { std: "docker" "inspect" "a5b77734fe5b6b6415ea9cbda7f67fcaa15e787708baf74b4e0147dfad6d43a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b77734fe5b6b6415ea9cbda7f67fcaa15e787708baf74b4e0147dfad6d43a2", kill_on_drop: false }` [INFO] [stdout] a5b77734fe5b6b6415ea9cbda7f67fcaa15e787708baf74b4e0147dfad6d43a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] b5276081a9bce4f1a4a619d3aca86dddb698e7501fd50102518e75d1f2b48fbc [INFO] running `Command { std: "docker" "start" "-a" "b5276081a9bce4f1a4a619d3aca86dddb698e7501fd50102518e75d1f2b48fbc", 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/bin/numstats.rs:36:33 [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] 36 | fn numstats() -> Result<(), Box> { [INFO] [stdout] [INFO] [stderr] | ^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: for more information, see [INFO] [stdout] [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - fn numstats() -> Result<(), Box> { [INFO] [stderr] 36 + fn numstats() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/numstats.rs:102:65 [INFO] [stderr] | [INFO] [stderr] 102 | fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stderr] 102 + fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/numstats.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - fn read_floats(input: &mut io::BufRead) -> Result, Box> { [INFO] [stderr] 102 + fn read_floats(input: &mut dyn io::BufRead) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/bin/numstats.rs:25:30 [INFO] [stderr] | [INFO] [stderr] 25 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/numstats.rs:103:34 [INFO] [stderr] | [INFO] [stderr] 103 | let ns: Result, Box> = 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] 103 - let ns: Result, Box> = input [INFO] [stderr] 103 + let ns: Result, Box> = input [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/numstats.rs:105:40 [INFO] [stderr] | [INFO] [stderr] 105 | .map(|line| -> Result> { Ok(line?.parse::()?) }) [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] 105 - .map(|line| -> Result> { Ok(line?.parse::()?) }) [INFO] [stderr] 105 + .map(|line| -> Result> { Ok(line?.parse::()?) }) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tunytools` (bin "numstats" test) generated 6 warnings [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/bin/countlines.rs:17:26 [INFO] [stderr] | [INFO] [stderr] 17 | Err(f) => panic!(f.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] 17 | Err(f) => panic!("{}", f.to_string()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `tunytools` (bin "countlines" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/bin/countlines.rs (/opt/rustwide/target/debug/deps/countlines-6c428764278528ce) [INFO] [stderr] Running unittests src/bin/numstats.rs (/opt/rustwide/target/debug/deps/numstats-e48cd53d78f4726d) [INFO] running `Command { std: "docker" "inspect" "b5276081a9bce4f1a4a619d3aca86dddb698e7501fd50102518e75d1f2b48fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5276081a9bce4f1a4a619d3aca86dddb698e7501fd50102518e75d1f2b48fbc", kill_on_drop: false }` [INFO] [stdout] b5276081a9bce4f1a4a619d3aca86dddb698e7501fd50102518e75d1f2b48fbc