[INFO] fetching crate anyhow-http-derive 0.4.2... [INFO] checking anyhow-http-derive-0.4.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate anyhow-http-derive 0.4.2 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate anyhow-http-derive 0.4.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1425ba9c5ff9fb99de14a7b99b066df4332dca042c3499f8a4e7bdfafa6a26a5 [INFO] running `Command { std: "docker" "start" "-a" "1425ba9c5ff9fb99de14a7b99b066df4332dca042c3499f8a4e7bdfafa6a26a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1425ba9c5ff9fb99de14a7b99b066df4332dca042c3499f8a4e7bdfafa6a26a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1425ba9c5ff9fb99de14a7b99b066df4332dca042c3499f8a4e7bdfafa6a26a5", kill_on_drop: false }` [INFO] [stdout] 1425ba9c5ff9fb99de14a7b99b066df4332dca042c3499f8a4e7bdfafa6a26a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7301134be0804b93f271bcc379e8f7da75b1e137d603c0ecc80588a9db2709a4 [INFO] running `Command { std: "docker" "start" "-a" "7301134be0804b93f271bcc379e8f7da75b1e137d603c0ecc80588a9db2709a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking darling_core v0.20.10 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking darling v0.20.10 [INFO] [stderr] Checking 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" "7301134be0804b93f271bcc379e8f7da75b1e137d603c0ecc80588a9db2709a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7301134be0804b93f271bcc379e8f7da75b1e137d603c0ecc80588a9db2709a4", kill_on_drop: false }` [INFO] [stdout] 7301134be0804b93f271bcc379e8f7da75b1e137d603c0ecc80588a9db2709a4