[INFO] fetching crate pprint 0.2.2... [INFO] testing pprint-0.2.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate pprint 0.2.2 into /workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pprint 0.2.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 009b1a471acb5ae4b20a341a5af8e1312d585439a74e3baa8f2891bc015aba53 [INFO] running `Command { std: "docker" "start" "-a" "009b1a471acb5ae4b20a341a5af8e1312d585439a74e3baa8f2891bc015aba53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "009b1a471acb5ae4b20a341a5af8e1312d585439a74e3baa8f2891bc015aba53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009b1a471acb5ae4b20a341a5af8e1312d585439a74e3baa8f2891bc015aba53", kill_on_drop: false }` [INFO] [stdout] 009b1a471acb5ae4b20a341a5af8e1312d585439a74e3baa8f2891bc015aba53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6664640b50a2574873abf7fcc8387f8d527dce24c1c4d104512bc851c9f5d489 [INFO] running `Command { std: "docker" "start" "-a" "6664640b50a2574873abf7fcc8387f8d527dce24c1c4d104512bc851c9f5d489", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling pprint_derive v0.1.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling pprint v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.52s [INFO] running `Command { std: "docker" "inspect" "6664640b50a2574873abf7fcc8387f8d527dce24c1c4d104512bc851c9f5d489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6664640b50a2574873abf7fcc8387f8d527dce24c1c4d104512bc851c9f5d489", kill_on_drop: false }` [INFO] [stdout] 6664640b50a2574873abf7fcc8387f8d527dce24c1c4d104512bc851c9f5d489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4765e8c2c385caef7fa6b5c896f30b9ab4adf8e376de8f7c14af6d1ecc02c581 [INFO] running `Command { std: "docker" "start" "-a" "4765e8c2c385caef7fa6b5c896f30b9ab4adf8e376de8f7c14af6d1ecc02c581", kill_on_drop: false }` [INFO] [stderr] Compiling 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4765e8c2c385caef7fa6b5c896f30b9ab4adf8e376de8f7c14af6d1ecc02c581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4765e8c2c385caef7fa6b5c896f30b9ab4adf8e376de8f7c14af6d1ecc02c581", kill_on_drop: false }` [INFO] [stdout] 4765e8c2c385caef7fa6b5c896f30b9ab4adf8e376de8f7c14af6d1ecc02c581