[INFO] fetching crate display_with_options 0.1.3...
[INFO] testing display_with_options-0.1.3 against 1.98.0-beta.1 for beta-1.98-1
[INFO] extracting crate display_with_options 0.1.3 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate display_with_options 0.1.3 on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "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.98.0-beta.1" "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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: 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] warning: `display_with_options` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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] ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3
[INFO] running `Command { std: "docker" "start" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3", 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" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3", 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" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: 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] warning: `display_with_options` (manifest) generated 1 warning
[INFO] [stderr]    Compiling display_with_options v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3", 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" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: 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] warning: `display_with_options` (manifest) generated 1 warning
[INFO] [stderr]    Compiling display_with_options v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3", 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" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: 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] warning: `display_with_options` (manifest) generated 1 warning
[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] [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] [stderr]    Doc-tests display_with_options
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 16) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[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/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/io/mod.rs:1726: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/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/fmt/mod.rs:214: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.34s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3", kill_on_drop: false }`
[INFO] [stdout] ed12eb7a3ded903b3eeb29231cf6512ecf780acef8bc6e9bfa390c9cd796c8a3
