[INFO] cloning repository https://github.com/aidengindin/url_shortener [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aidengindin/url_shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidengindin%2Furl_shortener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidengindin%2Furl_shortener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49d00cddd666238bb0906bbdccf05ffd954ff733 [INFO] checking aidengindin/url_shortener against try#5ec4d3b0c83717313176eefa7d71e9d36dc83355 for pr-155501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidengindin%2Furl_shortener" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aidengindin/url_shortener [INFO] finished tweaking git repo https://github.com/aidengindin/url_shortener [INFO] tweaked toml for git repo https://github.com/aidengindin/url_shortener written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aidengindin/url_shortener on toolchain 5ec4d3b0c83717313176eefa7d71e9d36dc83355 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aidengindin/url_shortener 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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aff29409461adaa7cb42f38452507d76eb69fd90ee8a456cc245d93b2eaf8ee6 [INFO] running `Command { std: "docker" "start" "-a" "aff29409461adaa7cb42f38452507d76eb69fd90ee8a456cc245d93b2eaf8ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aff29409461adaa7cb42f38452507d76eb69fd90ee8a456cc245d93b2eaf8ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff29409461adaa7cb42f38452507d76eb69fd90ee8a456cc245d93b2eaf8ee6", kill_on_drop: false }` [INFO] [stdout] aff29409461adaa7cb42f38452507d76eb69fd90ee8a456cc245d93b2eaf8ee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4f1e7dd3b0f11e80f8ee22e3f5285ba46c252e12b3cb071f9e8143fc7c45eb [INFO] running `Command { std: "docker" "start" "-a" "7e4f1e7dd3b0f11e80f8ee22e3f5285ba46c252e12b3cb071f9e8143fc7c45eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Checking rustix v0.38.34 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking uncased v0.9.10 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking multer v3.1.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking figment v0.10.19 [INFO] [stderr] Checking url_shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::collections::Hashmap` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::Hashmap, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Hashmap` in `collections` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 - use std::{collections::Hashmap, sync::Mutex}; [INFO] [stdout] 1 + use std::{collections::HashMap, sync::Mutex}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::Hashmap` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::Hashmap, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `Hashmap` in `collections` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 - use std::{collections::Hashmap, sync::Mutex}; [INFO] [stdout] 1 + use std::{collections::HashMap, sync::Mutex}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | static URL_MAP: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | static URL_MAP: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/main.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | static URL_MAP: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/main.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | static URL_MAP: Lazy>> = Lazy::new(|| Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url_shortener` (bin "url_shortener" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `url_shortener` (bin "url_shortener") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "7e4f1e7dd3b0f11e80f8ee22e3f5285ba46c252e12b3cb071f9e8143fc7c45eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4f1e7dd3b0f11e80f8ee22e3f5285ba46c252e12b3cb071f9e8143fc7c45eb", kill_on_drop: false }` [INFO] [stdout] 7e4f1e7dd3b0f11e80f8ee22e3f5285ba46c252e12b3cb071f9e8143fc7c45eb