[INFO] cloning repository https://github.com/sb3-spec/max_store_backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sb3-spec/max_store_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsb3-spec%2Fmax_store_backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsb3-spec%2Fmax_store_backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82d492ac14a2fc0e64b6c283836d1422d8d3003f [INFO] checking sb3-spec/max_store_backend against try#db4e1d23234d93b5e96ecc768b35d9090c32cddf for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsb3-spec%2Fmax_store_backend" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sb3-spec/max_store_backend [INFO] finished tweaking git repo https://github.com/sb3-spec/max_store_backend [INFO] tweaked toml for git repo https://github.com/sb3-spec/max_store_backend written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sb3-spec/max_store_backend on toolchain db4e1d23234d93b5e96ecc768b35d9090c32cddf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sb3-spec/max_store_backend 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" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dotenvy_macro v0.15.7 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded crossbeam-queue v0.3.10 [INFO] [stderr] Downloaded warp v0.3.6 [INFO] [stderr] Downloaded serde_derive v1.0.194 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83b99fc039a8610bcb2ed96b88b328dbd3705b207b7188083babd464556845b2 [INFO] running `Command { std: "docker" "start" "-a" "83b99fc039a8610bcb2ed96b88b328dbd3705b207b7188083babd464556845b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83b99fc039a8610bcb2ed96b88b328dbd3705b207b7188083babd464556845b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b99fc039a8610bcb2ed96b88b328dbd3705b207b7188083babd464556845b2", kill_on_drop: false }` [INFO] [stdout] 83b99fc039a8610bcb2ed96b88b328dbd3705b207b7188083babd464556845b2 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db4e1d23234d93b5e96ecc768b35d9090c32cddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43adf7708ea11cd46b3d1a54880cf2b0df04b89a19ddda18ba0d8f7191f14fe0 [INFO] running `Command { std: "docker" "start" "-a" "43adf7708ea11cd46b3d1a54880cf2b0df04b89a19ddda18ba0d8f7191f14fe0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling dotenvy_macro v0.15.7 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling sqlx-core v0.7.3 [INFO] [stderr] Checking warp v0.3.6 [INFO] [stderr] Compiling sqlx-postgres v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> src/models/db.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | match sqlx::migrate!().run(&pool).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::migrate` which comes from the expansion of the macro `sqlx::migrate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: No such file or directory (os error 2) [INFO] [stdout] --> src/models/db.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | match sqlx::migrate!().run(&pool).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::migrate` which comes from the expansion of the macro `sqlx::migrate` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `web_port` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let web_port: u16 = match env::var("PORT") { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_web_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let db = Arc::new(connect_to_db().await.expect("Cannot connect to db")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `web_port` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let web_port: u16 = match env::var("PORT") { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_web_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let db = Arc::new(connect_to_db().await.expect("Cannot connect to db")); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "43adf7708ea11cd46b3d1a54880cf2b0df04b89a19ddda18ba0d8f7191f14fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43adf7708ea11cd46b3d1a54880cf2b0df04b89a19ddda18ba0d8f7191f14fe0", kill_on_drop: false }` [INFO] [stdout] 43adf7708ea11cd46b3d1a54880cf2b0df04b89a19ddda18ba0d8f7191f14fe0