[INFO] fetching crate rest-macros 0.5.1... [INFO] testing rest-macros-0.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rest-macros 0.5.1 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rest-macros 0.5.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4620103b05b2008285a61a5fe7833fd096f279dc94804a4c94082b7069db53d [INFO] running `Command { std: "docker" "start" "-a" "a4620103b05b2008285a61a5fe7833fd096f279dc94804a4c94082b7069db53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4620103b05b2008285a61a5fe7833fd096f279dc94804a4c94082b7069db53d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4620103b05b2008285a61a5fe7833fd096f279dc94804a4c94082b7069db53d", kill_on_drop: false }` [INFO] [stdout] a4620103b05b2008285a61a5fe7833fd096f279dc94804a4c94082b7069db53d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db16fde2392f745c7ce09e470951ca922f594c5024acf05e2187732749009630 [INFO] running `Command { std: "docker" "start" "-a" "db16fde2392f745c7ce09e470951ca922f594c5024acf05e2187732749009630", 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.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.46s [INFO] running `Command { std: "docker" "inspect" "db16fde2392f745c7ce09e470951ca922f594c5024acf05e2187732749009630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db16fde2392f745c7ce09e470951ca922f594c5024acf05e2187732749009630", kill_on_drop: false }` [INFO] [stdout] db16fde2392f745c7ce09e470951ca922f594c5024acf05e2187732749009630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 198f6d78e9f9d73f6fd4c5c444500bc1a309091a7ed8c91141b57d2da43cf1d6 [INFO] running `Command { std: "docker" "start" "-a" "198f6d78e9f9d73f6fd4c5c444500bc1a309091a7ed8c91141b57d2da43cf1d6", 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.60s [INFO] running `Command { std: "docker" "inspect" "198f6d78e9f9d73f6fd4c5c444500bc1a309091a7ed8c91141b57d2da43cf1d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "198f6d78e9f9d73f6fd4c5c444500bc1a309091a7ed8c91141b57d2da43cf1d6", kill_on_drop: false }` [INFO] [stdout] 198f6d78e9f9d73f6fd4c5c444500bc1a309091a7ed8c91141b57d2da43cf1d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b69bf57f7a2325c1687a5097a0bfee75b60c33e160a4faaebb7622a8f579e30f [INFO] running `Command { std: "docker" "start" "-a" "b69bf57f7a2325c1687a5097a0bfee75b60c33e160a4faaebb7622a8f579e30f", 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-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 - with_fixtures_module (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - tear_down (line 116) ... FAILED [INFO] [stdout] test src/lib.rs - before_all (line 11) ... 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 - setup (line 81) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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 - 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 - 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 (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 - 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] [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.11s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.21s; merged doctests compilation took 0.10s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b69bf57f7a2325c1687a5097a0bfee75b60c33e160a4faaebb7622a8f579e30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b69bf57f7a2325c1687a5097a0bfee75b60c33e160a4faaebb7622a8f579e30f", kill_on_drop: false }` [INFO] [stdout] b69bf57f7a2325c1687a5097a0bfee75b60c33e160a4faaebb7622a8f579e30f