[INFO] fetching crate prettier-print 0.1.2... [INFO] testing prettier-print-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate prettier-print 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate prettier-print 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate prettier-print 0.1.2 [INFO] finished tweaking crates.io crate prettier-print 0.1.2 [INFO] tweaked toml for crates.io crate prettier-print 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm v0.20.0 [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded rstest v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d9ace4d0eb1716b1b918468798ad6bccaad3ca332c028560501967d0590ef26 [INFO] running `Command { std: "docker" "start" "-a" "0d9ace4d0eb1716b1b918468798ad6bccaad3ca332c028560501967d0590ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d9ace4d0eb1716b1b918468798ad6bccaad3ca332c028560501967d0590ef26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d9ace4d0eb1716b1b918468798ad6bccaad3ca332c028560501967d0590ef26", kill_on_drop: false }` [INFO] [stdout] 0d9ace4d0eb1716b1b918468798ad6bccaad3ca332c028560501967d0590ef26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30781220db4c60d09a54bb585c2fec7d8d1128488106e28d397fbac40b362c8e [INFO] running `Command { std: "docker" "start" "-a" "30781220db4c60d09a54bb585c2fec7d8d1128488106e28d397fbac40b362c8e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling prettier-print v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.32s [INFO] running `Command { std: "docker" "inspect" "30781220db4c60d09a54bb585c2fec7d8d1128488106e28d397fbac40b362c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30781220db4c60d09a54bb585c2fec7d8d1128488106e28d397fbac40b362c8e", kill_on_drop: false }` [INFO] [stdout] 30781220db4c60d09a54bb585c2fec7d8d1128488106e28d397fbac40b362c8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 069f11eb496f6697bb2cd6210c6d9977def8d526b1d369d921d85262589d25de [INFO] running `Command { std: "docker" "start" "-a" "069f11eb496f6697bb2cd6210c6d9977def8d526b1d369d921d85262589d25de", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling rstest v0.10.0 [INFO] [stderr] Compiling prettier-print v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> src/prettier_printer.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | a: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/prettier_printer.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug, Clone)] [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: field is never read: `b` [INFO] [stdout] --> src/prettier_printer.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | b: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/prettier_printer.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug, Clone)] [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: field is never read: `c` [INFO] [stdout] --> src/prettier_printer.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | c: HashMap<&'static str, &'static str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/prettier_printer.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | #[derive(Debug, Clone)] [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 25.26s [INFO] running `Command { std: "docker" "inspect" "069f11eb496f6697bb2cd6210c6d9977def8d526b1d369d921d85262589d25de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069f11eb496f6697bb2cd6210c6d9977def8d526b1d369d921d85262589d25de", kill_on_drop: false }` [INFO] [stdout] 069f11eb496f6697bb2cd6210c6d9977def8d526b1d369d921d85262589d25de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 55b2fed5d1caea519279fd43033c3d2ba6963997af5f1dc906a60c58ba66cb1a [INFO] running `Command { std: "docker" "start" "-a" "55b2fed5d1caea519279fd43033c3d2ba6963997af5f1dc906a60c58ba66cb1a", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `a` [INFO] [stderr] --> src/prettier_printer.rs:160:17 [INFO] [stderr] | [INFO] [stderr] 160 | a: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/prettier_printer.rs:158:22 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Debug, Clone)] [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: field is never read: `b` [INFO] [stderr] --> src/prettier_printer.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | b: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/prettier_printer.rs:158:22 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Debug, Clone)] [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: field is never read: `c` [INFO] [stderr] --> src/prettier_printer.rs:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | c: HashMap<&'static str, &'static str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/prettier_printer.rs:158:22 [INFO] [stderr] | [INFO] [stderr] 158 | #[derive(Debug, Clone)] [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: `prettier-print` (lib test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/prettier_print-d79af34137e9d824) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test game_of_life::tests::tick::case_3 ... ok [INFO] [stdout] test game_of_life::tests::tick::case_4 ... ok [INFO] [stdout] test game_of_life::tests::tick::case_1 ... ok [INFO] [stdout] test game_of_life::tests::tick::case_2 ... ok [INFO] [stdout] test game_of_life::tests::tick::case_5 ... ok [INFO] [stdout] test game_of_life::tests::tick::case_6 ... ok [INFO] [stdout] test game_of_life::tests::tick::case_7 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_01 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_02 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_03 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_04 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_05 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_06 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_07 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_08 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_09 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index::case_10 ... ok [INFO] [stdout] test game_of_life::tests::wrap_around_index_invalid ... ok [INFO] [stdout] test prettier_printer::tests::prettier_printer ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_1 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_3 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_4 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_5 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_6 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_7 ... ok [INFO] [stdout] test sparkles::tests::longest_line ... ok [INFO] [stderr] Doc-tests prettier-print [INFO] [stdout] test sparkles::tests::debug_string_grid::case_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrettierPrinter` [INFO] [stdout] --> src/lib.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", PrettierPrinter::default().print(&variable)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use prettier_print::prettier_printer::PrettierPrinter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `variable` in this scope [INFO] [stdout] --> src/lib.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", PrettierPrinter::default().print(&variable)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `stdout` in this scope [INFO] [stdout] --> src/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 3 | let stdout = stdout(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::stdout; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sparkles` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 4 | Sparkles::new(stdout.lock()).run(&variable)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use prettier_print::sparkles::Sparkles; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `variable` in this scope [INFO] [stdout] --> src/lib.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 4 | Sparkles::new(stdout.lock()).run(&variable)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_20_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let stdout = stdout(); [INFO] [stdout] 4 | | Sparkles::new(stdout.lock()).run(&variable)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } _doctest_main_src_lib_rs_20_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [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 11) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "55b2fed5d1caea519279fd43033c3d2ba6963997af5f1dc906a60c58ba66cb1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b2fed5d1caea519279fd43033c3d2ba6963997af5f1dc906a60c58ba66cb1a", kill_on_drop: false }` [INFO] [stdout] 55b2fed5d1caea519279fd43033c3d2ba6963997af5f1dc906a60c58ba66cb1a