[INFO] fetching crate rest-macros 0.5.1... [INFO] testing rest-macros-0.5.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rest-macros 0.5.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rest-macros 0.5.1 [INFO] finished tweaking crates.io crate rest-macros 0.5.1 [INFO] tweaked toml for crates.io crate rest-macros 0.5.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rest-macros 0.5.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rest-macros 0.5.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a0e8ba0a6e2f6434120e595e59395d31d03584c38833ca45a3401a377a2d105 [INFO] running `Command { std: "docker" "start" "-a" "0a0e8ba0a6e2f6434120e595e59395d31d03584c38833ca45a3401a377a2d105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a0e8ba0a6e2f6434120e595e59395d31d03584c38833ca45a3401a377a2d105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0e8ba0a6e2f6434120e595e59395d31d03584c38833ca45a3401a377a2d105", kill_on_drop: false }` [INFO] [stdout] 0a0e8ba0a6e2f6434120e595e59395d31d03584c38833ca45a3401a377a2d105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e778a3c3b9d9dea90b8f82ca6c2a8949a8fe0d0ba9d899c1bf6e4f17cbf784d4 [INFO] running `Command { std: "docker" "start" "-a" "e778a3c3b9d9dea90b8f82ca6c2a8949a8fe0d0ba9d899c1bf6e4f17cbf784d4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rest-macros v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "e778a3c3b9d9dea90b8f82ca6c2a8949a8fe0d0ba9d899c1bf6e4f17cbf784d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e778a3c3b9d9dea90b8f82ca6c2a8949a8fe0d0ba9d899c1bf6e4f17cbf784d4", kill_on_drop: false }` [INFO] [stdout] e778a3c3b9d9dea90b8f82ca6c2a8949a8fe0d0ba9d899c1bf6e4f17cbf784d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bba3e31d446566cff11d0eabc709875534bef86bb76ad78e9c790461e8d468a [INFO] running `Command { std: "docker" "start" "-a" "6bba3e31d446566cff11d0eabc709875534bef86bb76ad78e9c790461e8d468a", kill_on_drop: false }` [INFO] [stderr] Compiling rest-macros v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "6bba3e31d446566cff11d0eabc709875534bef86bb76ad78e9c790461e8d468a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bba3e31d446566cff11d0eabc709875534bef86bb76ad78e9c790461e8d468a", kill_on_drop: false }` [INFO] [stdout] 6bba3e31d446566cff11d0eabc709875534bef86bb76ad78e9c790461e8d468a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ead68462e81ee4c4aca80ada7dc8a360b37e2692cdecfb790ee65fd3687c72eb [INFO] running `Command { std: "docker" "start" "-a" "ead68462e81ee4c4aca80ada7dc8a360b37e2692cdecfb790ee65fd3687c72eb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rest_macros-61f03f5fcd48d078) [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 rest_macros [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - before_all (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - setup (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - tear_down (line 116) ... FAILED [INFO] [stdout] test src/lib.rs - with_fixtures (line 151) ... FAILED [INFO] [stdout] test src/lib.rs - after_all (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - with_fixtures_module (line 220) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - before_all (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rest` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rest::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rest`, use `cargo add rest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `before_all` in this scope [INFO] [stdout] --> src/lib.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[before_all] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rest_macros::before_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - setup (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rest` [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rest::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rest`, use `cargo add rest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `setup` in this scope [INFO] [stdout] --> src/lib.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[setup] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `setup` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rest_macros::setup; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - tear_down (line 116) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rest` [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rest::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rest`, use `cargo add rest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `tear_down` in this scope [INFO] [stdout] --> src/lib.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tear_down] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `tear_down` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rest_macros::tear_down; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - with_fixtures (line 151) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rest` [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rest::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rest`, use `cargo add rest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `with_fixtures` in this scope [INFO] [stdout] --> src/lib.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[with_fixtures] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rest_macros::with_fixtures; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/lib.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 8 | expect!(2 + 2).to_equal(4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `expect` is in scope, but it is an attribute: `#[expect]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - after_all (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rest` [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rest::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rest`, use `cargo add rest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `after_all` in this scope [INFO] [stdout] --> src/lib.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[after_all] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rest_macros::after_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - with_fixtures_module (line 220) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rest` [INFO] [stdout] --> src/lib.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rest::prelude::*; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rest`, use `cargo add rest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `with_fixtures_module` in this scope [INFO] [stdout] --> src/lib.rs:223:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[with_fixtures_module] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use rest_macros::with_fixtures_module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `setup` in this scope [INFO] [stdout] --> src/lib.rs:225:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[setup] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `setup` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 7 + use rest_macros::setup; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `tear_down` in this scope [INFO] [stdout] --> src/lib.rs:230:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[tear_down] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `tear_down` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 7 + use rest_macros::tear_down; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - after_all (line 46) [INFO] [stdout] src/lib.rs - before_all (line 11) [INFO] [stdout] src/lib.rs - setup (line 81) [INFO] [stdout] src/lib.rs - tear_down (line 116) [INFO] [stdout] src/lib.rs - with_fixtures (line 151) [INFO] [stdout] src/lib.rs - with_fixtures_module (line 220) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.59s; merged doctests compilation took 0.28s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ead68462e81ee4c4aca80ada7dc8a360b37e2692cdecfb790ee65fd3687c72eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead68462e81ee4c4aca80ada7dc8a360b37e2692cdecfb790ee65fd3687c72eb", kill_on_drop: false }` [INFO] [stdout] ead68462e81ee4c4aca80ada7dc8a360b37e2692cdecfb790ee65fd3687c72eb