[INFO] fetching crate rest-macros 0.5.1... [INFO] testing rest-macros-0.5.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52bdf232682a90cdad17f801c0f7033ada54e9568cf700b5698ada6a0ea9cf8b [INFO] running `Command { std: "docker" "start" "-a" "52bdf232682a90cdad17f801c0f7033ada54e9568cf700b5698ada6a0ea9cf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52bdf232682a90cdad17f801c0f7033ada54e9568cf700b5698ada6a0ea9cf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52bdf232682a90cdad17f801c0f7033ada54e9568cf700b5698ada6a0ea9cf8b", kill_on_drop: false }` [INFO] [stdout] 52bdf232682a90cdad17f801c0f7033ada54e9568cf700b5698ada6a0ea9cf8b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68fbba11831434bbd8616b9f85a33abe154775599aa14875d5107e69bd4f319a [INFO] running `Command { std: "docker" "start" "-a" "68fbba11831434bbd8616b9f85a33abe154775599aa14875d5107e69bd4f319a", 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.70s [INFO] running `Command { std: "docker" "inspect" "68fbba11831434bbd8616b9f85a33abe154775599aa14875d5107e69bd4f319a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fbba11831434bbd8616b9f85a33abe154775599aa14875d5107e69bd4f319a", kill_on_drop: false }` [INFO] [stdout] 68fbba11831434bbd8616b9f85a33abe154775599aa14875d5107e69bd4f319a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89a18dfa002dd2beb88dde6a566a5208def94c02cb1598568c235a5ce6cf3ad1 [INFO] running `Command { std: "docker" "start" "-a" "89a18dfa002dd2beb88dde6a566a5208def94c02cb1598568c235a5ce6cf3ad1", 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.71s [INFO] running `Command { std: "docker" "inspect" "89a18dfa002dd2beb88dde6a566a5208def94c02cb1598568c235a5ce6cf3ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a18dfa002dd2beb88dde6a566a5208def94c02cb1598568c235a5ce6cf3ad1", kill_on_drop: false }` [INFO] [stdout] 89a18dfa002dd2beb88dde6a566a5208def94c02cb1598568c235a5ce6cf3ad1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae7da693ae3d2c20782a55695229e98f7694d2a59e4cd2fac67c484ef036d3b0 [INFO] running `Command { std: "docker" "start" "-a" "ae7da693ae3d2c20782a55695229e98f7694d2a59e4cd2fac67c484ef036d3b0", 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/rest_macros-61f03f5fcd48d078) [INFO] [stdout] [INFO] [stderr] Doc-tests rest_macros [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - with_fixtures_module (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - setup (line 81) ... 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 - after_all (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - tear_down (line 116) ... 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 - 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 - 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 - 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 - 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] [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.29s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.44s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ae7da693ae3d2c20782a55695229e98f7694d2a59e4cd2fac67c484ef036d3b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7da693ae3d2c20782a55695229e98f7694d2a59e4cd2fac67c484ef036d3b0", kill_on_drop: false }` [INFO] [stdout] ae7da693ae3d2c20782a55695229e98f7694d2a59e4cd2fac67c484ef036d3b0