[INFO] fetching crate rest-macros 0.5.1... [INFO] testing rest-macros-0.5.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rest-macros 0.5.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rest-macros 0.5.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4cd60225d5e9752411f0f47ecdae24eb35529188c2c40e0375965d9884c8a9c [INFO] running `Command { std: "docker" "start" "-a" "a4cd60225d5e9752411f0f47ecdae24eb35529188c2c40e0375965d9884c8a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4cd60225d5e9752411f0f47ecdae24eb35529188c2c40e0375965d9884c8a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4cd60225d5e9752411f0f47ecdae24eb35529188c2c40e0375965d9884c8a9c", kill_on_drop: false }` [INFO] [stdout] a4cd60225d5e9752411f0f47ecdae24eb35529188c2c40e0375965d9884c8a9c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5168e9fc571b221db5cafc6951bfea0e47df945228e996b465b9d2e8bec23086 [INFO] running `Command { std: "docker" "start" "-a" "5168e9fc571b221db5cafc6951bfea0e47df945228e996b465b9d2e8bec23086", 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 7.52s [INFO] running `Command { std: "docker" "inspect" "5168e9fc571b221db5cafc6951bfea0e47df945228e996b465b9d2e8bec23086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5168e9fc571b221db5cafc6951bfea0e47df945228e996b465b9d2e8bec23086", kill_on_drop: false }` [INFO] [stdout] 5168e9fc571b221db5cafc6951bfea0e47df945228e996b465b9d2e8bec23086 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 215c8a920608b253c06478eecbea5d998d9187e428210343abc05464f9278e8e [INFO] running `Command { std: "docker" "start" "-a" "215c8a920608b253c06478eecbea5d998d9187e428210343abc05464f9278e8e", 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 1.08s [INFO] running `Command { std: "docker" "inspect" "215c8a920608b253c06478eecbea5d998d9187e428210343abc05464f9278e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215c8a920608b253c06478eecbea5d998d9187e428210343abc05464f9278e8e", kill_on_drop: false }` [INFO] [stdout] 215c8a920608b253c06478eecbea5d998d9187e428210343abc05464f9278e8e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 43df42a08651474aa2883e86c24b9ad5d97cb43500b8bdc30a681af134c21824 [INFO] running `Command { std: "docker" "start" "-a" "43df42a08651474aa2883e86c24b9ad5d97cb43500b8bdc30a681af134c21824", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [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 - after_all (line 46) ... 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 - setup (line 81) ... FAILED [INFO] [stdout] test src/lib.rs - with_fixtures_module (line 220) ... FAILED [INFO] [stdout] test src/lib.rs - with_fixtures (line 151) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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 - 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 - 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] [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.47s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.68s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "43df42a08651474aa2883e86c24b9ad5d97cb43500b8bdc30a681af134c21824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43df42a08651474aa2883e86c24b9ad5d97cb43500b8bdc30a681af134c21824", kill_on_drop: false }` [INFO] [stdout] 43df42a08651474aa2883e86c24b9ad5d97cb43500b8bdc30a681af134c21824