[INFO] fetching crate anyhow-http-derive 0.4.2... [INFO] testing anyhow-http-derive-0.4.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate anyhow-http-derive 0.4.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate anyhow-http-derive 0.4.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate anyhow-http-derive 0.4.2 [INFO] tweaked toml for crates.io crate anyhow-http-derive 0.4.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anyhow-http-derive 0.4.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate anyhow-http-derive 0.4.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf05df49328119a3abfe9e0a084c886b7f069dc7faf3b5dcb6cbc76218c0812 [INFO] running `Command { std: "docker" "start" "-a" "ebf05df49328119a3abfe9e0a084c886b7f069dc7faf3b5dcb6cbc76218c0812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf05df49328119a3abfe9e0a084c886b7f069dc7faf3b5dcb6cbc76218c0812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf05df49328119a3abfe9e0a084c886b7f069dc7faf3b5dcb6cbc76218c0812", kill_on_drop: false }` [INFO] [stdout] ebf05df49328119a3abfe9e0a084c886b7f069dc7faf3b5dcb6cbc76218c0812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cf8fd7f3ef8a717f8a94a6f5c9527021c870a15c9d611ca316303d7e5aaced1 [INFO] running `Command { std: "docker" "start" "-a" "6cf8fd7f3ef8a717f8a94a6f5c9527021c870a15c9d611ca316303d7e5aaced1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling anyhow-http-derive v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.06s [INFO] running `Command { std: "docker" "inspect" "6cf8fd7f3ef8a717f8a94a6f5c9527021c870a15c9d611ca316303d7e5aaced1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf8fd7f3ef8a717f8a94a6f5c9527021c870a15c9d611ca316303d7e5aaced1", kill_on_drop: false }` [INFO] [stdout] 6cf8fd7f3ef8a717f8a94a6f5c9527021c870a15c9d611ca316303d7e5aaced1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 493c7f97ec5c7daf427cd0784fd917f61851de17cae662001f1c210f5a84af1f [INFO] running `Command { std: "docker" "start" "-a" "493c7f97ec5c7daf427cd0784fd917f61851de17cae662001f1c210f5a84af1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling anyhow-http-derive v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `anyhow_http` [INFO] [stdout] --> tests/derive_http_error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow_http::{http_error, HttpError}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `anyhow_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow_http`, use `cargo add anyhow_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `anyhow_http` in the list of imported crates [INFO] [stdout] --> tests/derive_http_error.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, FromHttpError)] [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `anyhow_http` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromHttpError` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `anyhow_http` in the list of imported crates [INFO] [stdout] --> tests/derive_http_error.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / #[http_error(status(400), reason("reason {0}"))] [INFO] [stdout] 9 | | From(#[from] anyhow::Error), [INFO] [stdout] | |_______________________________^ could not find `anyhow_http` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `anyhow_http` in the list of imported crates [INFO] [stdout] --> tests/derive_http_error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[http_error(status(400), reason("reason {count}"))] [INFO] [stdout] 11 | | NamedWithSource { [INFO] [stdout] 12 | | count: u64, [INFO] [stdout] 13 | | #[source] [INFO] [stdout] 14 | | source: anyhow::Error, [INFO] [stdout] 15 | | }, [INFO] [stdout] | |_____^ could not find `anyhow_http` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `anyhow_http` in the list of imported crates [INFO] [stdout] --> tests/derive_http_error.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / #[http_error( [INFO] [stdout] 17 | | status(400), [INFO] [stdout] 18 | | reason("reason {0}"), [INFO] [stdout] 19 | | data(code = 1234, info = "info {0}") [INFO] [stdout] 20 | | )] [INFO] [stdout] 21 | | UnamedWithSource(u64, #[source] anyhow::Error), [INFO] [stdout] | |__________________________________________________^ could not find `anyhow_http` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `anyhow_http` in the list of imported crates [INFO] [stdout] --> tests/derive_http_error.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / #[http_error(transparent)] [INFO] [stdout] 23 | | Transparent(#[source] HttpError), [INFO] [stdout] | |____________________________________^ could not find `anyhow_http` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `anyhow_http` in the list of imported crates [INFO] [stdout] --> tests/derive_http_error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / #[http_error(status(404), data({DATA_KEY} = ErrorCode::Invalid as u32))] [INFO] [stdout] 25 | | ExprData(String), [INFO] [stdout] | |____________________^ could not find `anyhow_http` in the list of imported crates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anyhow-http-derive` (test "derive_http_error") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "493c7f97ec5c7daf427cd0784fd917f61851de17cae662001f1c210f5a84af1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493c7f97ec5c7daf427cd0784fd917f61851de17cae662001f1c210f5a84af1f", kill_on_drop: false }` [INFO] [stdout] 493c7f97ec5c7daf427cd0784fd917f61851de17cae662001f1c210f5a84af1f