[INFO] cloning repository https://github.com/maxbeutel/rust-ascii-art [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxbeutel/rust-ascii-art" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxbeutel%2Frust-ascii-art", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxbeutel%2Frust-ascii-art'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2021f741c9dea91ad36ccad393acb602c4a20efe [INFO] testing maxbeutel/rust-ascii-art 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%2Fmaxbeutel%2Frust-ascii-art" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxbeutel/rust-ascii-art 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/maxbeutel/rust-ascii-art [INFO] finished tweaking git repo https://github.com/maxbeutel/rust-ascii-art [INFO] tweaked toml for git repo https://github.com/maxbeutel/rust-ascii-art written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/maxbeutel/rust-ascii-art 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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 12fa29a94b2001031766c0b047f173ee9dcb19466af9e01109555f3de7c0eaed [INFO] running `Command { std: "docker" "start" "-a" "12fa29a94b2001031766c0b047f173ee9dcb19466af9e01109555f3de7c0eaed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12fa29a94b2001031766c0b047f173ee9dcb19466af9e01109555f3de7c0eaed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12fa29a94b2001031766c0b047f173ee9dcb19466af9e01109555f3de7c0eaed", kill_on_drop: false }` [INFO] [stdout] 12fa29a94b2001031766c0b047f173ee9dcb19466af9e01109555f3de7c0eaed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 051c9a5bb679edc8216ee017dcd44f43b82a23cf47701638e303899c44e5918d [INFO] running `Command { std: "docker" "start" "-a" "051c9a5bb679edc8216ee017dcd44f43b82a23cf47701638e303899c44e5918d", kill_on_drop: false }` [INFO] [stderr] Compiling ascii-art v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | struct CombinedObject(Dimensions, Vec>); [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - struct CombinedObject(Dimensions, Vec>); [INFO] [stdout] 66 + struct CombinedObject(Dimensions, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | fn plot(a: Box) -> Canvas { [INFO] [stdout] | ^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 312 - fn plot(a: Box) -> Canvas { [INFO] [stdout] 312 + fn plot(a: Box) -> Canvas { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:49:90 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &Fn(&Coords) -> u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &Fn(&Coords) -> u32) -> u32 { [INFO] [stdout] 49 + fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &dyn Fn(&Coords) -> u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | let mut contained_objects: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 300 - let mut contained_objects: Vec> = vec![]; [INFO] [stdout] 300 + let mut contained_objects: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Canvas` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Canvas, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Representation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_dimensions` [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_dimensions(dimensions: Dimensions) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `coords_from_index` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn coords_from_index(i: u32, dimensions: Dimensions) -> Coords { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_coords` [INFO] [stdout] --> src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_coords(coords: &Vec) -> Dimensions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_coord_from_coords` [INFO] [stdout] --> src/main.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &Fn(&Coords) -> u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn rotate(line: Line, rotation_center: Coords) -> Line { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn new(start: Coords, end: Coords) -> Line { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn new(point: Coords, radius: u32) -> Circle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `combine` [INFO] [stdout] --> src/main.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn combine(a: Box, b: Box) -> CombinedObject { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `plot` [INFO] [stdout] --> src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn plot(a: Box) -> Canvas { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn draw(canvas: Canvas) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fixtures_diagonal_line_ltr` [INFO] [stdout] --> src/main.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn fixtures_diagonal_line_ltr() -> Line { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fixtures_horizontal_line` [INFO] [stdout] --> src/main.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn fixtures_horizontal_line() -> Line { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fixtures_vertical_line` [INFO] [stdout] --> src/main.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn fixtures_vertical_line() -> Line { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fixtures_circle` [INFO] [stdout] --> src/main.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn fixtures_circle() -> Circle { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "051c9a5bb679edc8216ee017dcd44f43b82a23cf47701638e303899c44e5918d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "051c9a5bb679edc8216ee017dcd44f43b82a23cf47701638e303899c44e5918d", kill_on_drop: false }` [INFO] [stdout] 051c9a5bb679edc8216ee017dcd44f43b82a23cf47701638e303899c44e5918d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f8d882126d82ebb255ac0b3bd7bd8bea29cb0c88a81653115dfabac1924d5efb [INFO] running `Command { std: "docker" "start" "-a" "f8d882126d82ebb255ac0b3bd7bd8bea29cb0c88a81653115dfabac1924d5efb", kill_on_drop: false }` [INFO] [stderr] Compiling ascii-art v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:43 [INFO] [stdout] | [INFO] [stdout] 66 | struct CombinedObject(Dimensions, Vec>); [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - struct CombinedObject(Dimensions, Vec>); [INFO] [stdout] 66 + struct CombinedObject(Dimensions, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | fn plot(a: Box) -> Canvas { [INFO] [stdout] | ^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 312 - fn plot(a: Box) -> Canvas { [INFO] [stdout] 312 + fn plot(a: Box) -> Canvas { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:49:90 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &Fn(&Coords) -> u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &Fn(&Coords) -> u32) -> u32 { [INFO] [stdout] 49 + fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &dyn Fn(&Coords) -> u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | let mut contained_objects: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 300 - let mut contained_objects: Vec> = vec![]; [INFO] [stdout] 300 + let mut contained_objects: Vec> = vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn draw(canvas: Canvas) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.84s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/ascii_art-bc5cef28c86ec395) [INFO] running `Command { std: "docker" "inspect" "f8d882126d82ebb255ac0b3bd7bd8bea29cb0c88a81653115dfabac1924d5efb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d882126d82ebb255ac0b3bd7bd8bea29cb0c88a81653115dfabac1924d5efb", kill_on_drop: false }` [INFO] [stdout] f8d882126d82ebb255ac0b3bd7bd8bea29cb0c88a81653115dfabac1924d5efb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 6622f120ee8ca7f9b4f7c53a8d9da18d33477b8fe9c5cb3d48f620261902f9d8 [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" "6622f120ee8ca7f9b4f7c53a8d9da18d33477b8fe9c5cb3d48f620261902f9d8", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:66:43 [INFO] [stderr] | [INFO] [stderr] 66 | struct CombinedObject(Dimensions, Vec>); [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - struct CombinedObject(Dimensions, Vec>); [INFO] [stderr] 66 + struct CombinedObject(Dimensions, Vec>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:312:16 [INFO] [stderr] | [INFO] [stderr] 312 | fn plot(a: Box) -> Canvas { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 312 - fn plot(a: Box) -> Canvas { [INFO] [stderr] 312 + fn plot(a: Box) -> Canvas { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:49:90 [INFO] [stderr] | [INFO] [stderr] 49 | fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &Fn(&Coords) -> u32) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &Fn(&Coords) -> u32) -> u32 { [INFO] [stderr] 49 + fn get_max_coord_from_coords<'a, I: Iterator>(coords: I, pluck_fn: &dyn Fn(&Coords) -> u32) -> u32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:300:40 [INFO] [stderr] | [INFO] [stderr] 300 | let mut contained_objects: Vec> = vec![]; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 300 - let mut contained_objects: Vec> = vec![]; [INFO] [stderr] 300 + let mut contained_objects: Vec> = vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function is never used: `draw` [INFO] [stderr] --> src/main.rs:327:4 [INFO] [stderr] | [INFO] [stderr] 327 | fn draw(canvas: Canvas) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ascii-art` (bin "ascii-art" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ascii_art-bc5cef28c86ec395) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test test_combine_expands_dimensions_to_fit_largest_object_circle ... ok [INFO] [stdout] test test_new_diagonal_line_left_to_right ... ok [INFO] [stdout] test test_new_diagonal_line_right_to_left ... ok [INFO] [stdout] test test_new_horizontal_line_2 ... ok [INFO] [stdout] test test_new_vertical_line ... ok [INFO] [stdout] test test_plot_circle ... ok [INFO] [stdout] test test_plot_line ... ok [INFO] [stdout] test test_plot_horizontal_line ... ok [INFO] [stdout] test test_rotate_line_vertical_to_horizontal ... ok [INFO] [stdout] test test_combine_expands_dimensions_to_fit_largest_object_line ... ok [INFO] [stdout] test test_new_circle ... ok [INFO] [stdout] test test_new_horizontal_line_1 ... ok [INFO] [stdout] test test_get_dimension_from_coords ... ok [INFO] [stdout] test test_plot_merged_object ... ok [INFO] [stdout] test test_rotate_line_horizontal_to_vertical ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6622f120ee8ca7f9b4f7c53a8d9da18d33477b8fe9c5cb3d48f620261902f9d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6622f120ee8ca7f9b4f7c53a8d9da18d33477b8fe9c5cb3d48f620261902f9d8", kill_on_drop: false }` [INFO] [stdout] 6622f120ee8ca7f9b4f7c53a8d9da18d33477b8fe9c5cb3d48f620261902f9d8