[INFO] fetching crate bare_err_tree_proc 1.0.0... [INFO] testing bare_err_tree_proc-1.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bare_err_tree_proc 1.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate bare_err_tree_proc 1.0.0 [INFO] finished tweaking crates.io crate bare_err_tree_proc 1.0.0 [INFO] tweaked toml for crates.io crate bare_err_tree_proc 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bare_err_tree_proc 1.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bare_err_tree_proc 1.0.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20fe98ac549e772b19511ce57a6b5ca3a840cf8c16de461a05626417bdebe046 [INFO] running `Command { std: "docker" "start" "-a" "20fe98ac549e772b19511ce57a6b5ca3a840cf8c16de461a05626417bdebe046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20fe98ac549e772b19511ce57a6b5ca3a840cf8c16de461a05626417bdebe046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fe98ac549e772b19511ce57a6b5ca3a840cf8c16de461a05626417bdebe046", kill_on_drop: false }` [INFO] [stdout] 20fe98ac549e772b19511ce57a6b5ca3a840cf8c16de461a05626417bdebe046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c83d3480ab7e234f17aad17af8fe9f16dec444f5a3cfcf9690735f66b7d5e494 [INFO] running `Command { std: "docker" "start" "-a" "c83d3480ab7e234f17aad17af8fe9f16dec444f5a3cfcf9690735f66b7d5e494", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling bare_err_tree_proc v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.57s [INFO] running `Command { std: "docker" "inspect" "c83d3480ab7e234f17aad17af8fe9f16dec444f5a3cfcf9690735f66b7d5e494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c83d3480ab7e234f17aad17af8fe9f16dec444f5a3cfcf9690735f66b7d5e494", kill_on_drop: false }` [INFO] [stdout] c83d3480ab7e234f17aad17af8fe9f16dec444f5a3cfcf9690735f66b7d5e494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2ec0cb7f1f63cf4b14d687aa917c99196e4ad5e90e45ac3ebe10195495dac53 [INFO] running `Command { std: "docker" "start" "-a" "e2ec0cb7f1f63cf4b14d687aa917c99196e4ad5e90e45ac3ebe10195495dac53", kill_on_drop: false }` [INFO] [stderr] Compiling bare_err_tree_proc v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "e2ec0cb7f1f63cf4b14d687aa917c99196e4ad5e90e45ac3ebe10195495dac53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ec0cb7f1f63cf4b14d687aa917c99196e4ad5e90e45ac3ebe10195495dac53", kill_on_drop: false }` [INFO] [stdout] e2ec0cb7f1f63cf4b14d687aa917c99196e4ad5e90e45ac3ebe10195495dac53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 585cccbc99375f985a7c850f33377c6cd3d73d90b0594f3e941d15e97682ae98 [INFO] running `Command { std: "docker" "start" "-a" "585cccbc99375f985a7c850f33377c6cd3d73d90b0594f3e941d15e97682ae98", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bare_err_tree_proc-7ec7614655f274d4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bare_err_tree_proc [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - err_tree (line 219) ... FAILED [INFO] [stdout] test src/lib.rs - err_tree (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - err_tree (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - err_tree (line 176) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - err_tree (line 219) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bare_err_tree` [INFO] [stdout] --> src/lib.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | use bare_err_tree::{err_tree, tree_unwrap}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bare_err_tree` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bare_err_tree`, use `cargo add bare_err_tree` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dyn_err` in this scope [INFO] [stdout] --> src/lib.rs:226:7 [INFO] [stdout] | [INFO] [stdout] 226 | #[dyn_err] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dyn_iter_err` in this scope [INFO] [stdout] --> src/lib.rs:228:7 [INFO] [stdout] | [INFO] [stdout] 228 | #[dyn_iter_err] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `_tree` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 225 | struct Foo { [INFO] [stdout] | ---------- associated item `_tree` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 235 | Foo::_tree(io_err, extra_io_errs) [INFO] [stdout] | ^^^^^ associated item not found in `Foo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Foo`, consider using `Foo::new` which returns `Foo` [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn new(io_err: std::io::Error, extra_io_errs: [std::io::Error; 5]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - err_tree (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bare_err_tree` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use bare_err_tree::{err_tree, tree_unwrap}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bare_err_tree` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bare_err_tree`, use `cargo add bare_err_tree` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `_tree` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 57 | struct Foo { [INFO] [stdout] | ---------- associated item `_tree` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 65 | Foo::_tree(num) [INFO] [stdout] | ^^^^^ associated item not found in `Foo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Foo`, consider using `Foo::new` which returns `Foo` [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(num: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - err_tree (line 106) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bare_err_tree` [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | use bare_err_tree::{err_tree, tree_unwrap, AsErrTree, ErrTree}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bare_err_tree` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bare_err_tree`, use `cargo add bare_err_tree` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dyn_err` in this scope [INFO] [stdout] --> src/lib.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[dyn_err] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dyn_iter_err` in this scope [INFO] [stdout] --> src/lib.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[dyn_iter_err] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `_tree` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 114 | struct Foo { [INFO] [stdout] | ---------- associated item `_tree` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 125 | Foo::_tree(io_err, extra_io_errs) [INFO] [stdout] | ^^^^^ associated item not found in `Foo` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Foo`, consider using `Foo::new` which returns `Foo` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn new(io_err: std::io::Error, extra_io_errs: [std::io::Error; 5]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_err_tree` found for struct `Foo` in the current scope [INFO] [stdout] --> src/lib.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 114 | struct Foo { [INFO] [stdout] | ---------- method `as_err_tree` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 154 | err.as_err_tree(&mut |tree| { [INFO] [stdout] | ----^^^^^^^^^^^ method not found in `Foo` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | err.as_err_tree(&mut |tree| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 155 | let sources = tree.sources(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 154 | err.as_err_tree(&mut |tree: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - err_tree (line 176) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `bare_err_tree` [INFO] [stdout] --> src/lib.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | use bare_err_tree::{err_tree, tree_unwrap}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bare_err_tree` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bare_err_tree`, use `cargo add bare_err_tree` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dyn_err` in this scope [INFO] [stdout] --> src/lib.rs:187:7 [INFO] [stdout] | [INFO] [stdout] 187 | #[dyn_err] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `dyn_iter_err` in this scope [INFO] [stdout] --> src/lib.rs:189:7 [INFO] [stdout] | [INFO] [stdout] 189 | #[dyn_iter_err] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FooWrap` [INFO] [stdout] --> src/lib.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | let wrapped = FooWrap::from(Foo::Val(8_i32)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `FooWrap` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - err_tree (line 106) [INFO] [stdout] src/lib.rs - err_tree (line 176) [INFO] [stdout] src/lib.rs - err_tree (line 219) [INFO] [stdout] src/lib.rs - err_tree (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "585cccbc99375f985a7c850f33377c6cd3d73d90b0594f3e941d15e97682ae98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585cccbc99375f985a7c850f33377c6cd3d73d90b0594f3e941d15e97682ae98", kill_on_drop: false }` [INFO] [stdout] 585cccbc99375f985a7c850f33377c6cd3d73d90b0594f3e941d15e97682ae98