[INFO] cloning repository https://github.com/PrognosticatorR/cr8s [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PrognosticatorR/cr8s" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrognosticatorR%2Fcr8s", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrognosticatorR%2Fcr8s'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2b958f5405f9ec190c0f74fdbaefb38c0dc205a [INFO] checking PrognosticatorR/cr8s/b2b958f5405f9ec190c0f74fdbaefb38c0dc205a against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrognosticatorR%2Fcr8s" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PrognosticatorR/cr8s on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PrognosticatorR/cr8s [INFO] finished tweaking git repo https://github.com/PrognosticatorR/cr8s [INFO] tweaked toml for git repo https://github.com/PrognosticatorR/cr8s written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PrognosticatorR/cr8s 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f05e7b417d29399a91f99072ba94ee893e96ed9c262d76123013633a3141f66e [INFO] running `Command { std: "docker" "start" "-a" "f05e7b417d29399a91f99072ba94ee893e96ed9c262d76123013633a3141f66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f05e7b417d29399a91f99072ba94ee893e96ed9c262d76123013633a3141f66e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05e7b417d29399a91f99072ba94ee893e96ed9c262d76123013633a3141f66e", kill_on_drop: false }` [INFO] [stdout] f05e7b417d29399a91f99072ba94ee893e96ed9c262d76123013633a3141f66e [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74f3ecb9b6c01586fe2e10507093b1a928ecb7bc6dc7d8e65281369d2e5b41c5 [INFO] running `Command { std: "docker" "start" "-a" "74f3ecb9b6c01586fe2e10507093b1a928ecb7bc6dc7d8e65281369d2e5b41c5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking winnow v0.6.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Compiling diesel_derives v2.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling rocket_sync_db_pools v0.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling rocket_sync_db_pools_codegen v0.1.0 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking diesel v2.1.6 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking deadpool-redis v0.12.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking rocket_db_pools v0.1.0 [INFO] [stderr] Checking cr8s v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/routes/mod.rs (1 fix) [INFO] [stderr] Fixed src/repositories/user_repository.rs (1 fix) [INFO] [stderr] Fixed src/tests/auth.rs (1 fix) [INFO] [stderr] Fixed src/tests/auth.rs (5 fixes) [INFO] [stderr] Fixed src/tests/crates.rs (1 fix) [INFO] [stderr] Fixed src/tests/rustaceans.rs (1 fix) [INFO] [stderr] Migrating src/bin/server.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/bin/server.rs (1 fix) [INFO] [stderr] Migrating src/bin/cli.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.64s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking cr8s v0.1.0 (/tmp/fixit) [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/tests/auth.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | .json(&json!({"username": "test_admin", "password": "1234956"})) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/tests/auth.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | .json(&json!({"username": "test_admin", "password": "123456"})) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `APP_HOST` in this scope [INFO] [stdout] --> src/tests/crates.rs:130:52 [INFO] [stdout] | [INFO] [stdout] 130 | let response = client.get(format!("{}/crates", APP_HOST)).send().unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this static [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::utility::common::APP_HOST; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/rustaceans.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let client = common::get_client_with_logged_in_admin(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/rustaceans.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let json = common::create_rustacean(&client, "dvsg@345", "dev"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/rustaceans.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let client = common::get_client_with_logged_in_admin(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/rustaceans.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let json = common::create_rustacean(&client, "dvsg@345", "dev"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/rustaceans.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | let client = common::get_client_with_logged_in_admin(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/rustaceans.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | common::create_rustacean(&client, "dvsg@345", "dev"); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/tests/auth.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | let output = Command::new("cargo") [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 2 + use clap::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/tests/auth.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::blocking::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::local::asynchronous::Client; [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::local::blocking::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/auth.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | .post(format!("{}/login", common::APP_HOST)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests/auth.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(correct_response.status(), StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/tests/auth.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let json: Value = correct_response.json().unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use rocket::serde::json::Value; [INFO] [stdout] | [INFO] [stdout] 2 + use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `common` [INFO] [stdout] --> src/tests/auth.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | .post(format!("{}/login", common::APP_HOST)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `common` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use crate::tests::utility::common; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests/auth.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(incorrect_response.status(), StatusCode::UNAUTHORIZED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cr8s` (lib test) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "74f3ecb9b6c01586fe2e10507093b1a928ecb7bc6dc7d8e65281369d2e5b41c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f3ecb9b6c01586fe2e10507093b1a928ecb7bc6dc7d8e65281369d2e5b41c5", kill_on_drop: false }` [INFO] [stdout] 74f3ecb9b6c01586fe2e10507093b1a928ecb7bc6dc7d8e65281369d2e5b41c5