[INFO] cloning repository https://github.com/compenguy/rtf2text [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/compenguy/rtf2text" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompenguy%2Frtf2text", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompenguy%2Frtf2text'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 336cfd867348835a5ebc5a41b78e3d2a3fdd6b8d [INFO] testing compenguy/rtf2text 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%2Fcompenguy%2Frtf2text" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compenguy/rtf2text 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/compenguy/rtf2text [INFO] finished tweaking git repo https://github.com/compenguy/rtf2text [INFO] tweaked toml for git repo https://github.com/compenguy/rtf2text written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/compenguy/rtf2text 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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2e828729c7a28b42dda6c7bda91fa7ec80aeba0a6bd5af1e9e825ff0ef3fa5c [INFO] running `Command { std: "docker" "start" "-a" "a2e828729c7a28b42dda6c7bda91fa7ec80aeba0a6bd5af1e9e825ff0ef3fa5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e828729c7a28b42dda6c7bda91fa7ec80aeba0a6bd5af1e9e825ff0ef3fa5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e828729c7a28b42dda6c7bda91fa7ec80aeba0a6bd5af1e9e825ff0ef3fa5c", kill_on_drop: false }` [INFO] [stdout] a2e828729c7a28b42dda6c7bda91fa7ec80aeba0a6bd5af1e9e825ff0ef3fa5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd475e23d1b630ce0c932f52938a68f66903966a0a4f2b02c5a89d65d53fee5 [INFO] running `Command { std: "docker" "start" "-a" "bdd475e23d1b630ce0c932f52938a68f66903966a0a4f2b02c5a89d65d53fee5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.16 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling loggerv v0.4.0 [INFO] [stderr] Compiling nom v4.2.0 [INFO] [stderr] Compiling codepage v0.1.1 [INFO] [stderr] Compiling rtf-grimoire v0.1.0 (https://github.com/compenguy/rtf-grimoire.git#00462817) [INFO] [stderr] Compiling rtf2text v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let app = app_from_crate!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let app = app_from_crate!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | inner: Option>, [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] 50 - inner: Option>, [INFO] [stdout] 50 + inner: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:67:79 [INFO] [stdout] | [INFO] [stdout] 67 | fn make_input_reader(infile: Option<&str>) -> error::Result>> { [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] 67 - fn make_input_reader(infile: Option<&str>) -> error::Result>> { [INFO] [stdout] 67 + fn make_input_reader(infile: Option<&str>) -> error::Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:86:81 [INFO] [stdout] | [INFO] [stdout] 86 | fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [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] 86 - fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [INFO] [stdout] 86 + fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | source: 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] 75 - source: Option>, [INFO] [stdout] 75 + source: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | as 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] 78 - as Box [INFO] [stdout] 78 + as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | None => Box::new(io::stdin()) as 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] 81 - None => Box::new(io::stdin()) as Box, [INFO] [stdout] 81 + None => Box::new(io::stdin()) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | as 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] 92 - as Box [INFO] [stdout] 92 + as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:47 [INFO] [stdout] | [INFO] [stdout] 94 | None => Box::new(io::stdout()) as 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] 94 - None => Box::new(io::stdout()) as Box, [INFO] [stdout] 94 + None => Box::new(io::stdout()) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.group_stack` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/rtftotext.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(last_group) = self.get_last_group() { [INFO] [stdout] | --------------------- immutable borrow occurs here [INFO] [stdout] 240 | self.group_stack.push(last_group.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | inner: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug)] [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.79s [INFO] running `Command { std: "docker" "inspect" "bdd475e23d1b630ce0c932f52938a68f66903966a0a4f2b02c5a89d65d53fee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd475e23d1b630ce0c932f52938a68f66903966a0a4f2b02c5a89d65d53fee5", kill_on_drop: false }` [INFO] [stdout] bdd475e23d1b630ce0c932f52938a68f66903966a0a4f2b02c5a89d65d53fee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0bdc5ac5c58ae23e69a4bafeb5f523db98b27c8eaaa9e1fb00fe5b21d6a5e03 [INFO] running `Command { std: "docker" "start" "-a" "e0bdc5ac5c58ae23e69a4bafeb5f523db98b27c8eaaa9e1fb00fe5b21d6a5e03", kill_on_drop: false }` [INFO] [stderr] Compiling rtf2text v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let app = app_from_crate!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let app = app_from_crate!("") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | inner: Option>, [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] 50 - inner: Option>, [INFO] [stdout] 50 + inner: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:67:79 [INFO] [stdout] | [INFO] [stdout] 67 | fn make_input_reader(infile: Option<&str>) -> error::Result>> { [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] 67 - fn make_input_reader(infile: Option<&str>) -> error::Result>> { [INFO] [stdout] 67 + fn make_input_reader(infile: Option<&str>) -> error::Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:86:81 [INFO] [stdout] | [INFO] [stdout] 86 | fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [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] 86 - fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [INFO] [stdout] 86 + fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | source: 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] 75 - source: Option>, [INFO] [stdout] 75 + source: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | as 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] 78 - as Box [INFO] [stdout] 78 + as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | None => Box::new(io::stdin()) as 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] 81 - None => Box::new(io::stdin()) as Box, [INFO] [stdout] 81 + None => Box::new(io::stdin()) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | as 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] 92 - as Box [INFO] [stdout] 92 + as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:47 [INFO] [stdout] | [INFO] [stdout] 94 | None => Box::new(io::stdout()) as 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] 94 - None => Box::new(io::stdout()) as Box, [INFO] [stdout] 94 + None => Box::new(io::stdout()) as Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.group_stack` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/rtftotext.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 239 | if let Some(last_group) = self.get_last_group() { [INFO] [stdout] | --------------------- immutable borrow occurs here [INFO] [stdout] 240 | self.group_stack.push(last_group.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/error.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | inner: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug)] [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.88s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rtf2text-a55caf9623acdcd9) [INFO] running `Command { std: "docker" "inspect" "e0bdc5ac5c58ae23e69a4bafeb5f523db98b27c8eaaa9e1fb00fe5b21d6a5e03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0bdc5ac5c58ae23e69a4bafeb5f523db98b27c8eaaa9e1fb00fe5b21d6a5e03", kill_on_drop: false }` [INFO] [stdout] e0bdc5ac5c58ae23e69a4bafeb5f523db98b27c8eaaa9e1fb00fe5b21d6a5e03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dab991dd39836a1c7ae7b18f49c587afad887a6ebd99e3ff45629ec0a99d7ba [INFO] running `Command { std: "docker" "start" "-a" "2dab991dd39836a1c7ae7b18f49c587afad887a6ebd99e3ff45629ec0a99d7ba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | let app = app_from_crate!("") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | let app = app_from_crate!("") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | inner: Option>, [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] 50 - inner: Option>, [INFO] [stderr] 50 + inner: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:67:79 [INFO] [stderr] | [INFO] [stderr] 67 | fn make_input_reader(infile: Option<&str>) -> error::Result>> { [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] 67 - fn make_input_reader(infile: Option<&str>) -> error::Result>> { [INFO] [stderr] 67 + fn make_input_reader(infile: Option<&str>) -> error::Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:86:81 [INFO] [stderr] | [INFO] [stderr] 86 | fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [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] 86 - fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [INFO] [stderr] 86 + fn make_output_writer(outfile: Option<&str>) -> error::Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:75:28 [INFO] [stderr] | [INFO] [stderr] 75 | source: 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] 75 - source: Option>, [INFO] [stderr] 75 + source: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | as 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] 78 - as Box [INFO] [stderr] 78 + as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:81:46 [INFO] [stderr] | [INFO] [stderr] 81 | None => Box::new(io::stdin()) as 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] 81 - None => Box::new(io::stdin()) as Box, [INFO] [stderr] 81 + None => Box::new(io::stdin()) as Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:92:24 [INFO] [stderr] | [INFO] [stderr] 92 | as 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] 92 - as Box [INFO] [stderr] 92 + as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:94:47 [INFO] [stderr] | [INFO] [stderr] 94 | None => Box::new(io::stdout()) as 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] 94 - None => Box::new(io::stdout()) as Box, [INFO] [stderr] 94 + None => Box::new(io::stdout()) as Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.group_stack` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/rtftotext.rs:240:13 [INFO] [stderr] | [INFO] [stderr] 239 | if let Some(last_group) = self.get_last_group() { [INFO] [stderr] | --------------------- immutable borrow occurs here [INFO] [stderr] 240 | self.group_stack.push(last_group.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow later used here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner` [INFO] [stderr] --> src/error.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | inner: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rtf2text` (bin "rtf2text" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rtf2text-a55caf9623acdcd9) [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" "2dab991dd39836a1c7ae7b18f49c587afad887a6ebd99e3ff45629ec0a99d7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dab991dd39836a1c7ae7b18f49c587afad887a6ebd99e3ff45629ec0a99d7ba", kill_on_drop: false }` [INFO] [stdout] 2dab991dd39836a1c7ae7b18f49c587afad887a6ebd99e3ff45629ec0a99d7ba