[INFO] cloning repository https://github.com/KonstantinPakulev/Rust_hw_2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KonstantinPakulev/Rust_hw_2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKonstantinPakulev%2FRust_hw_2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKonstantinPakulev%2FRust_hw_2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c465b2ddc4ba167e5e543a41e02fd478828966a [INFO] testing KonstantinPakulev/Rust_hw_2 against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKonstantinPakulev%2FRust_hw_2" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KonstantinPakulev/Rust_hw_2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KonstantinPakulev/Rust_hw_2 [INFO] finished tweaking git repo https://github.com/KonstantinPakulev/Rust_hw_2 [INFO] tweaked toml for git repo https://github.com/KonstantinPakulev/Rust_hw_2 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/KonstantinPakulev/Rust_hw_2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96ce3ac3146c6c4cd36b05c4a78092d6ded0275fae27216952a45035d9c8d430 [INFO] running `Command { std: "docker" "start" "-a" "96ce3ac3146c6c4cd36b05c4a78092d6ded0275fae27216952a45035d9c8d430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96ce3ac3146c6c4cd36b05c4a78092d6ded0275fae27216952a45035d9c8d430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ce3ac3146c6c4cd36b05c4a78092d6ded0275fae27216952a45035d9c8d430", kill_on_drop: false }` [INFO] [stdout] 96ce3ac3146c6c4cd36b05c4a78092d6ded0275fae27216952a45035d9c8d430 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b72367a2e1cf6b7a6f54e7fb3a9954e3a4b61214a2e35838956c1c0ec761c4b5 [INFO] running `Command { std: "docker" "start" "-a" "b72367a2e1cf6b7a6f54e7fb3a9954e3a4b61214a2e35838956c1c0ec761c4b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Compiling csv v1.0.5 [INFO] [stderr] Compiling structopt v0.2.14 [INFO] [stderr] Compiling rust_hw_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | fn read(params: Opt) -> 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] 42 - fn read(params: Opt) -> Result<(), Box> { [INFO] [stdout] 42 + fn read(params: Opt) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:157 [INFO] [stdout] | [INFO] [stdout] 59 | ...: &u64, pop_none: &bool, pop_not_none: &bool) -> 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] 59 - fn write_std_out(reader: &mut csv::Reader, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] 59 + fn write_std_out(reader: &mut csv::Reader, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:169 [INFO] [stdout] | [INFO] [stdout] 83 | ...: &u64, pop_none: &bool, pop_not_none: &bool) -> 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] 83 - fn write_file(reader: &mut csv::Reader, path: &String, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] 83 + fn write_file(reader: &mut csv::Reader, path: &String, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `population_not_none` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | population_not_none: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.55s [INFO] running `Command { std: "docker" "inspect" "b72367a2e1cf6b7a6f54e7fb3a9954e3a4b61214a2e35838956c1c0ec761c4b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b72367a2e1cf6b7a6f54e7fb3a9954e3a4b61214a2e35838956c1c0ec761c4b5", kill_on_drop: false }` [INFO] [stdout] b72367a2e1cf6b7a6f54e7fb3a9954e3a4b61214a2e35838956c1c0ec761c4b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2bb8a6b7623a6e7c27d896c72a7a559b50a5e6aec4fd7fff74d048ca9017659 [INFO] running `Command { std: "docker" "start" "-a" "c2bb8a6b7623a6e7c27d896c72a7a559b50a5e6aec4fd7fff74d048ca9017659", kill_on_drop: false }` [INFO] [stderr] Compiling rust_hw_2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:40 [INFO] [stdout] | [INFO] [stdout] 42 | fn read(params: Opt) -> 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] 42 - fn read(params: Opt) -> Result<(), Box> { [INFO] [stdout] 42 + fn read(params: Opt) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:157 [INFO] [stdout] | [INFO] [stdout] 59 | ...: &u64, pop_none: &bool, pop_not_none: &bool) -> 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] 59 - fn write_std_out(reader: &mut csv::Reader, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] 59 + fn write_std_out(reader: &mut csv::Reader, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:169 [INFO] [stdout] | [INFO] [stdout] 83 | ...: &u64, pop_none: &bool, pop_not_none: &bool) -> 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] 83 - fn write_file(reader: &mut csv::Reader, path: &String, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] 83 + fn write_file(reader: &mut csv::Reader, path: &String, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `population_not_none` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | population_not_none: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "c2bb8a6b7623a6e7c27d896c72a7a559b50a5e6aec4fd7fff74d048ca9017659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2bb8a6b7623a6e7c27d896c72a7a559b50a5e6aec4fd7fff74d048ca9017659", kill_on_drop: false }` [INFO] [stdout] c2bb8a6b7623a6e7c27d896c72a7a559b50a5e6aec4fd7fff74d048ca9017659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd3b486a1795834d03c895a8e172b6eb58d11db314a61d293c47e0067ae0714a [INFO] running `Command { std: "docker" "start" "-a" "cd3b486a1795834d03c895a8e172b6eb58d11db314a61d293c47e0067ae0714a", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:42:40 [INFO] [stderr] | [INFO] [stderr] 42 | fn read(params: Opt) -> Result<(), Box> { [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] 42 - fn read(params: Opt) -> Result<(), Box> { [INFO] [stderr] 42 + fn read(params: Opt) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:59:157 [INFO] [stderr] | [INFO] [stderr] 59 | ...: &u64, pop_none: &bool, pop_not_none: &bool) -> 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] 59 - fn write_std_out(reader: &mut csv::Reader, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stderr] 59 + fn write_std_out(reader: &mut csv::Reader, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:83:169 [INFO] [stderr] | [INFO] [stderr] 83 | ...: &u64, pop_none: &bool, pop_not_none: &bool) -> 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] 83 - fn write_file(reader: &mut csv::Reader, path: &String, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stderr] 83 + fn write_file(reader: &mut csv::Reader, path: &String, population_lt: &u64, population_gt: &u64, pop_none: &bool, pop_not_none: &bool) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `population_not_none` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | population_not_none: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_hw_2` (bin "rust_hw_2" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_hw_2-24438a025d511603) [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" "cd3b486a1795834d03c895a8e172b6eb58d11db314a61d293c47e0067ae0714a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3b486a1795834d03c895a8e172b6eb58d11db314a61d293c47e0067ae0714a", kill_on_drop: false }` [INFO] [stdout] cd3b486a1795834d03c895a8e172b6eb58d11db314a61d293c47e0067ae0714a