[INFO] fetching crate prettier-print 0.1.2... [INFO] testing prettier-print-0.1.2 against beta-2022-04-10 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 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 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" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91c0028780b973e96575286bfeb4864700b4c7599fc86acf15a41e986d461f6c [INFO] running `Command { std: "docker" "start" "-a" "91c0028780b973e96575286bfeb4864700b4c7599fc86acf15a41e986d461f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91c0028780b973e96575286bfeb4864700b4c7599fc86acf15a41e986d461f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c0028780b973e96575286bfeb4864700b4c7599fc86acf15a41e986d461f6c", kill_on_drop: false }` [INFO] [stdout] 91c0028780b973e96575286bfeb4864700b4c7599fc86acf15a41e986d461f6c [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c5056b6e46349aca049cc2e9104c7f024efab8d3edaa226e8e1a7863771c6df [INFO] running `Command { std: "docker" "start" "-a" "4c5056b6e46349aca049cc2e9104c7f024efab8d3edaa226e8e1a7863771c6df", 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 9.88s [INFO] running `Command { std: "docker" "inspect" "4c5056b6e46349aca049cc2e9104c7f024efab8d3edaa226e8e1a7863771c6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c5056b6e46349aca049cc2e9104c7f024efab8d3edaa226e8e1a7863771c6df", kill_on_drop: false }` [INFO] [stdout] 4c5056b6e46349aca049cc2e9104c7f024efab8d3edaa226e8e1a7863771c6df [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90957074b4dccd5a78a5499489969484aca1bfb58f35f615848baec178e65490 [INFO] running `Command { std: "docker" "start" "-a" "90957074b4dccd5a78a5499489969484aca1bfb58f35f615848baec178e65490", kill_on_drop: false }` [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 14.41s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/prettier_print-e31c5d39bc2f217d) [INFO] running `Command { std: "docker" "inspect" "90957074b4dccd5a78a5499489969484aca1bfb58f35f615848baec178e65490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90957074b4dccd5a78a5499489969484aca1bfb58f35f615848baec178e65490", kill_on_drop: false }` [INFO] [stdout] 90957074b4dccd5a78a5499489969484aca1bfb58f35f615848baec178e65490 [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90987c2af380b5369007adf0b462290575b3a0441944f6a6de9c8cbeaa3c5f1a [INFO] running `Command { std: "docker" "start" "-a" "90987c2af380b5369007adf0b462290575b3a0441944f6a6de9c8cbeaa3c5f1a", 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prettier_print-e31c5d39bc2f217d) [INFO] [stdout] [INFO] [stdout] running 27 tests [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_3 ... 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 game_of_life::tests::tick::case_4 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_1 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_2 ... ok [INFO] [stdout] test prettier_printer::tests::prettier_printer ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_5 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_7 ... ok [INFO] [stdout] test sparkles::tests::longest_line ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_3 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_6 ... ok [INFO] [stdout] test sparkles::tests::debug_string_grid::case_4 ... 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] [stderr] Doc-tests prettier-print [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.19s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "90987c2af380b5369007adf0b462290575b3a0441944f6a6de9c8cbeaa3c5f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90987c2af380b5369007adf0b462290575b3a0441944f6a6de9c8cbeaa3c5f1a", kill_on_drop: false }` [INFO] [stdout] 90987c2af380b5369007adf0b462290575b3a0441944f6a6de9c8cbeaa3c5f1a