[INFO] cloning repository https://github.com/SierraSoftworks/http-errors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SierraSoftworks/http-errors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSierraSoftworks%2Fhttp-errors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSierraSoftworks%2Fhttp-errors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 848d39c52118264f851fdcb2ae92f2332bc5d664 [INFO] checking SierraSoftworks/http-errors against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSierraSoftworks%2Fhttp-errors" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SierraSoftworks/http-errors [INFO] finished tweaking git repo https://github.com/SierraSoftworks/http-errors [INFO] tweaked toml for git repo https://github.com/SierraSoftworks/http-errors written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SierraSoftworks/http-errors on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SierraSoftworks/http-errors 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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a298a9ede8d1a790e7f6f721bd0ae823360a2aed9ae08eb55c4a419009dcbb7 [INFO] running `Command { std: "docker" "start" "-a" "4a298a9ede8d1a790e7f6f721bd0ae823360a2aed9ae08eb55c4a419009dcbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a298a9ede8d1a790e7f6f721bd0ae823360a2aed9ae08eb55c4a419009dcbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a298a9ede8d1a790e7f6f721bd0ae823360a2aed9ae08eb55c4a419009dcbb7", kill_on_drop: false }` [INFO] [stdout] 4a298a9ede8d1a790e7f6f721bd0ae823360a2aed9ae08eb55c4a419009dcbb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76caf70a435106e7bb0e8bf737ee47d4cd3975c1a7f49664b2975b0f47527f51 [INFO] running `Command { std: "docker" "start" "-a" "76caf70a435106e7bb0e8bf737ee47d4cd3975c1a7f49664b2975b0f47527f51", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking http-errors v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/assets.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/assets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/assets.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[folder = "$CARGO_MANIFEST_DIR/static"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(RustEmbed)] [INFO] [stdout] 6 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/assets.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/assets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/assets.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[folder = "$CARGO_MANIFEST_DIR/static"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 5 + #[derive(RustEmbed)] [INFO] [stdout] 6 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 5 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 8 | Asset::get(name).and_then(|a| std::str::from_utf8(a.data.as_ref()).ok().map(|s| s.into())) [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/assets.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 5 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 8 | Asset::get(name).and_then(|a| std::str::from_utf8(a.data.as_ref()).ok().map(|s| s.into())) [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-errors` (bin "http-errors") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http-errors` (bin "http-errors" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "76caf70a435106e7bb0e8bf737ee47d4cd3975c1a7f49664b2975b0f47527f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76caf70a435106e7bb0e8bf737ee47d4cd3975c1a7f49664b2975b0f47527f51", kill_on_drop: false }` [INFO] [stdout] 76caf70a435106e7bb0e8bf737ee47d4cd3975c1a7f49664b2975b0f47527f51