[INFO] cloning repository https://github.com/Ivorforce/display-with-options
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ivorforce/display-with-options" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvorforce%2Fdisplay-with-options", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvorforce%2Fdisplay-with-options'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57068899089f3cbf48dc43f896986aa433b4b4a9
[INFO] testing Ivorforce/display-with-options against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvorforce%2Fdisplay-with-options" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Ivorforce/display-with-options
[INFO] finished tweaking git repo https://github.com/Ivorforce/display-with-options
[INFO] tweaked toml for git repo https://github.com/Ivorforce/display-with-options written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Ivorforce/display-with-options on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Ivorforce/display-with-options already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d68341fe374a49c6cf5c4778af2ef902790ed1690c541a051b15f0d2cfe1e36
[INFO] running `Command { std: "docker" "start" "-a" "7d68341fe374a49c6cf5c4778af2ef902790ed1690c541a051b15f0d2cfe1e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d68341fe374a49c6cf5c4778af2ef902790ed1690c541a051b15f0d2cfe1e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d68341fe374a49c6cf5c4778af2ef902790ed1690c541a051b15f0d2cfe1e36", kill_on_drop: false }`
[INFO] [stdout] 7d68341fe374a49c6cf5c4778af2ef902790ed1690c541a051b15f0d2cfe1e36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0694e0af0804b01c35aa8d81e1bef32a38e6c3384f09194727045e8c471ebe7c
[INFO] running `Command { std: "docker" "start" "-a" "0694e0af0804b01c35aa8d81e1bef32a38e6c3384f09194727045e8c471ebe7c", 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.41s
[INFO] running `Command { std: "docker" "inspect" "0694e0af0804b01c35aa8d81e1bef32a38e6c3384f09194727045e8c471ebe7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0694e0af0804b01c35aa8d81e1bef32a38e6c3384f09194727045e8c471ebe7c", kill_on_drop: false }`
[INFO] [stdout] 0694e0af0804b01c35aa8d81e1bef32a38e6c3384f09194727045e8c471ebe7c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b623c0fd10fa9fb16ed81a8e33eebe76df402f3e6492bfba08fe816a8c1adab
[INFO] running `Command { std: "docker" "start" "-a" "7b623c0fd10fa9fb16ed81a8e33eebe76df402f3e6492bfba08fe816a8c1adab", 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.66s
[INFO] running `Command { std: "docker" "inspect" "7b623c0fd10fa9fb16ed81a8e33eebe76df402f3e6492bfba08fe816a8c1adab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b623c0fd10fa9fb16ed81a8e33eebe76df402f3e6492bfba08fe816a8c1adab", kill_on_drop: false }`
[INFO] [stdout] 7b623c0fd10fa9fb16ed81a8e33eebe76df402f3e6492bfba08fe816a8c1adab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3536b25669775bce97fe09656996b664b33c4dc01c2679e120b3857c72e3601a
[INFO] running `Command { std: "docker" "start" "-a" "3536b25669775bce97fe09656996b664b33c4dc01c2679e120b3857c72e3601a", 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.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/display_with_options-27c5a8911734ca21)
[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] [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] 9 |     writeln!(dst, "A").unwrap();
[INFO] [stdout]   |              ^^^
[INFO] [stdout]  --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1950:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: the method is available for `Vec<u8>` here
[INFO] [stdout]   |
[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] 9 |     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] 2 + 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] 11 |     let mut f = IndentingFormatter::new(&mut dst, "    ");
[INFO] [stdout]    |                                         ^^^^^^^^ the trait `std::fmt::Write` is not implemented for `Vec<u8>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `std::fmt::Write`:
[INFO] [stdout]              &mut W
[INFO] [stdout]              Formatter<'_>
[INFO] [stdout]              IndentingFormatter<'a, 'b>
[INFO] [stdout]              OsString
[INFO] [stdout]              String
[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] 12 |     writeln!(f, "B").unwrap();
[INFO] [stdout]    |              ^
[INFO] [stdout]   --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:205:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `IndentingFormatter<'_, '_>` here
[INFO] [stdout]    |
[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] 12 |     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] 2  + 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.37s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3536b25669775bce97fe09656996b664b33c4dc01c2679e120b3857c72e3601a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3536b25669775bce97fe09656996b664b33c4dc01c2679e120b3857c72e3601a", kill_on_drop: false }`
[INFO] [stdout] 3536b25669775bce97fe09656996b664b33c4dc01c2679e120b3857c72e3601a
