[INFO] fetching crate pprint 0.2.2... [INFO] checking pprint-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pprint 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate pprint 0.2.2 [INFO] finished tweaking crates.io crate pprint 0.2.2 [INFO] tweaked toml for crates.io crate pprint 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pprint 0.2.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 pprint_derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 871a61ffdbbba2c03d8c52a0e40025ce3dbe366c60ac9617214cb2e4adbd2040 [INFO] running `Command { std: "docker" "start" "-a" "871a61ffdbbba2c03d8c52a0e40025ce3dbe366c60ac9617214cb2e4adbd2040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "871a61ffdbbba2c03d8c52a0e40025ce3dbe366c60ac9617214cb2e4adbd2040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871a61ffdbbba2c03d8c52a0e40025ce3dbe366c60ac9617214cb2e4adbd2040", kill_on_drop: false }` [INFO] [stdout] 871a61ffdbbba2c03d8c52a0e40025ce3dbe366c60ac9617214cb2e4adbd2040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b59fa4571ba64a6c71cd4ad75315c85e6a4c5e2b129d7996a478b120eccb00e5 [INFO] running `Command { std: "docker" "start" "-a" "b59fa4571ba64a6c71cd4ad75315c85e6a4c5e2b129d7996a478b120eccb00e5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pprint_derive v0.1.0 [INFO] [stderr] Checking pprint v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pretty` [INFO] [stdout] --> tests/derive_tests.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Pretty)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pretty` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty`, use `cargo add pretty` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Pretty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty` [INFO] [stdout] --> tests/derive_tests.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Pretty)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pretty` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty`, use `cargo add pretty` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Pretty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty` [INFO] [stdout] --> tests/derive_tests.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Pretty)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pretty` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty`, use `cargo add pretty` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Pretty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pprint` in this scope [INFO] [stdout] --> tests/derive_tests.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[pprint(verbose)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `pprint` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pprint` in this scope [INFO] [stdout] --> tests/derive_tests.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[pprint(rename = "MyEnum::A")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `pprint` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pprint` in this scope [INFO] [stdout] --> tests/derive_tests.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[pprint(verbose, rename = "Inner")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `pprint` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `pprint` in this scope [INFO] [stdout] --> tests/derive_tests.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[pprint(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `pprint` is in scope, but it is a crate, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pretty` [INFO] [stdout] --> tests/derive_tests.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Pretty)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pretty` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty`, use `cargo add pretty` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Pretty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pretty` [INFO] [stdout] --> tests/derive_tests.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Pretty)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pretty` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty`, use `cargo add pretty` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Pretty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pretty` [INFO] [stdout] --> tests/derive_tests.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Pretty)] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `pretty` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty`, use `cargo add pretty` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `Pretty` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Doc<'_>: From>` is not satisfied [INFO] [stdout] --> tests/derive_tests.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | let pprint = printer.pprint(s); [INFO] [stdout] | ------ ^ the trait `From>` is not implemented for `Doc<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Doc<'_>` implements `From<&T>` [INFO] [stdout] `Doc<'_>` implements `From<&[T]>` [INFO] [stdout] `Doc<'_>` implements `From<&str>` [INFO] [stdout] `Doc<'_>` implements `From<()>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3, T4)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3, T4, T5)>` [INFO] [stdout] and 30 others [INFO] [stdout] = note: required for `HeyEnum<'_>` to implement `Into>` [INFO] [stdout] note: required by a bound in `Printer::pprint` [INFO] [stdout] --> /opt/rustwide/workdir/src/print.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn pprint<'a>(&self, doc: impl Into>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Printer::pprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Doc<'_>: From>` is not satisfied [INFO] [stdout] --> tests/derive_tests.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | let pprint = printer.pprint(s); [INFO] [stdout] | ------ ^ the trait `From>` is not implemented for `Doc<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Doc<'_>` implements `From<&T>` [INFO] [stdout] `Doc<'_>` implements `From<&[T]>` [INFO] [stdout] `Doc<'_>` implements `From<&str>` [INFO] [stdout] `Doc<'_>` implements `From<()>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3, T4)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3, T4, T5)>` [INFO] [stdout] and 30 others [INFO] [stdout] = note: required for `InnerStrumct<'_>` to implement `Into>` [INFO] [stdout] note: required by a bound in `Printer::pprint` [INFO] [stdout] --> /opt/rustwide/workdir/src/print.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn pprint<'a>(&self, doc: impl Into>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Printer::pprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Doc<'_>: From>` is not satisfied [INFO] [stdout] --> tests/derive_tests.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | let pprint = printer.pprint(s); [INFO] [stdout] | ------ ^ the trait `From>` is not implemented for `Doc<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `Doc<'_>` implements `From<&T>` [INFO] [stdout] `Doc<'_>` implements `From<&[T]>` [INFO] [stdout] `Doc<'_>` implements `From<&str>` [INFO] [stdout] `Doc<'_>` implements `From<()>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3, T4)>` [INFO] [stdout] `Doc<'_>` implements `From<(T1, T2, T3, T4, T5)>` [INFO] [stdout] and 30 others [INFO] [stdout] = note: required for `Strumct<'_>` to implement `Into>` [INFO] [stdout] note: required by a bound in `Printer::pprint` [INFO] [stdout] --> /opt/rustwide/workdir/src/print.rs:254:40 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn pprint<'a>(&self, doc: impl Into>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Printer::pprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pprint` (test "derive_tests") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "b59fa4571ba64a6c71cd4ad75315c85e6a4c5e2b129d7996a478b120eccb00e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59fa4571ba64a6c71cd4ad75315c85e6a4c5e2b129d7996a478b120eccb00e5", kill_on_drop: false }` [INFO] [stdout] b59fa4571ba64a6c71cd4ad75315c85e6a4c5e2b129d7996a478b120eccb00e5