[INFO] fetching crate rest-macros 0.6.0... [INFO] testing rest-macros-0.6.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rest-macros 0.6.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rest-macros 0.6.0 [INFO] finished tweaking crates.io crate rest-macros 0.6.0 [INFO] tweaked toml for crates.io crate rest-macros 0.6.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rest-macros 0.6.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rest-macros 0.6.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 222d2472257fe43dc06cb4cb394fd46001818e4a66d8ecbabc91caa0f0f94cd8 [INFO] running `Command { std: "docker" "start" "-a" "222d2472257fe43dc06cb4cb394fd46001818e4a66d8ecbabc91caa0f0f94cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "222d2472257fe43dc06cb4cb394fd46001818e4a66d8ecbabc91caa0f0f94cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222d2472257fe43dc06cb4cb394fd46001818e4a66d8ecbabc91caa0f0f94cd8", kill_on_drop: false }` [INFO] [stdout] 222d2472257fe43dc06cb4cb394fd46001818e4a66d8ecbabc91caa0f0f94cd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c713c37c4c31c2b0d7d776ffc176707144043e1ba524fecd84e52e077359d0e1 [INFO] running `Command { std: "docker" "start" "-a" "c713c37c4c31c2b0d7d776ffc176707144043e1ba524fecd84e52e077359d0e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rest-macros v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.37s [INFO] running `Command { std: "docker" "inspect" "c713c37c4c31c2b0d7d776ffc176707144043e1ba524fecd84e52e077359d0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c713c37c4c31c2b0d7d776ffc176707144043e1ba524fecd84e52e077359d0e1", kill_on_drop: false }` [INFO] [stdout] c713c37c4c31c2b0d7d776ffc176707144043e1ba524fecd84e52e077359d0e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f8b900bd9b13bcde5199e9250fbe729cdea89e5debc0a6c0dabb61c08faea02 [INFO] running `Command { std: "docker" "start" "-a" "8f8b900bd9b13bcde5199e9250fbe729cdea89e5debc0a6c0dabb61c08faea02", kill_on_drop: false }` [INFO] [stderr] Compiling rest-macros v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "8f8b900bd9b13bcde5199e9250fbe729cdea89e5debc0a6c0dabb61c08faea02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8b900bd9b13bcde5199e9250fbe729cdea89e5debc0a6c0dabb61c08faea02", kill_on_drop: false }` [INFO] [stdout] 8f8b900bd9b13bcde5199e9250fbe729cdea89e5debc0a6c0dabb61c08faea02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba4f101d1aa525896b1ca6becbf53a7b63a5a9dcb10dac65682522afdbb1deee [INFO] running `Command { std: "docker" "start" "-a" "ba4f101d1aa525896b1ca6becbf53a7b63a5a9dcb10dac65682522afdbb1deee", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rest_macros-8a3e397856a0070f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests rest_macros [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - setup (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - after_all (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - with_fixtures (line 151) ... FAILED [INFO] [stdout] test src/lib.rs - before_all (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - tear_down (line 116) ... 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 - setup (line 81) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rest` in this scope [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | 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] 84 | #[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] 81 + 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 - after_all (line 46) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rest` in this scope [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | 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] 49 | #[after_all] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 46 + 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 (line 151) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rest` in this scope [INFO] [stdout] --> src/lib.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | 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] 154 | #[with_fixtures] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 151 + 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] 157 | 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 - before_all (line 11) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rest` in this scope [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 14 | #[before_all] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 11 + 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 - tear_down (line 116) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rest` in this scope [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | 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] 119 | #[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] 116 + 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_module (line 220) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `rest` in this scope [INFO] [stdout] --> src/lib.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | 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] 223 | #[with_fixtures_module] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 220 + 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] 225 | #[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] 225 + 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] 230 | #[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] 225 + use rest_macros::tear_down; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | 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 5 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.19s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.30s; merged doctests compilation took 0.11s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ba4f101d1aa525896b1ca6becbf53a7b63a5a9dcb10dac65682522afdbb1deee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4f101d1aa525896b1ca6becbf53a7b63a5a9dcb10dac65682522afdbb1deee", kill_on_drop: false }` [INFO] [stdout] ba4f101d1aa525896b1ca6becbf53a7b63a5a9dcb10dac65682522afdbb1deee