[INFO] fetching crate display_with_options 0.1.3...
[INFO] testing display_with_options-0.1.3 against 1.97.0-beta.6 for beta-1.98-1
[INFO] extracting crate display_with_options 0.1.3 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate display_with_options 0.1.3
[INFO] finished tweaking crates.io crate display_with_options 0.1.3
[INFO] tweaked toml for crates.io crate display_with_options 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate display_with_options 0.1.3 on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a
[INFO] running `Command { std: "docker" "start" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling display_with_options v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling display_with_options v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] running `Command { std: "docker" "inspect" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/display_with_options-f054179a6f9968c6)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Doc-tests display_with_options
[INFO] [stdout] test tests::tests::indent_twice ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 16) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 37) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 16) stdout ----
[INFO] [stdout] error[E0599]: cannot write into `Vec<u8>`
[INFO] [stdout]   --> src/lib.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     writeln!(dst, "A").unwrap();
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:1973:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `Vec<u8>` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/lib.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     writeln!(dst, "A").unwrap();
[INFO] [stdout]    |              ^^^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Vec<u8>: std::fmt::Write` is not satisfied
[INFO] [stdout]   --> src/lib.rs:25:41
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut f = IndentingFormatter::new(&mut dst, "    ");
[INFO] [stdout]    |                                         ^^^^^^^^ the trait `std::fmt::Write` is not implemented for `Vec<u8>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Vec<u8>` implements similarly named trait `std::io::Write`, but not `std::fmt::Write`
[INFO] [stdout]    = note: required for the cast from `&mut Vec<u8>` to `&mut dyn std::fmt::Write`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `IndentingFormatter<'_, '_>`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     writeln!(f, "B").unwrap();
[INFO] [stdout]    |              ^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/fmt/mod.rs:212:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `IndentingFormatter<'_, '_>` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     writeln!(f, "B").unwrap();
[INFO] [stdout]    |              ^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 16 + use std::fmt::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 16)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a", kill_on_drop: false }`
[INFO] [stdout] 5270af65e20e7ac3df2a35bb8ec85eb38e39bc674ddbe9af8dfc59a25f8d7e8a
