[INFO] cloning repository https://github.com/jasonwvh/simple_db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jasonwvh/simple_db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonwvh%2Fsimple_db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonwvh%2Fsimple_db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 807e419638670b2927ca5373641be5ee86d16072 [INFO] checking jasonwvh/simple_db against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasonwvh%2Fsimple_db" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jasonwvh/simple_db [INFO] finished tweaking git repo https://github.com/jasonwvh/simple_db [INFO] tweaked toml for git repo https://github.com/jasonwvh/simple_db written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jasonwvh/simple_db on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jasonwvh/simple_db 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15c500b7f8a699d979f9f2f9afe051f722577394356a684b9f9661ddfb0d319a [INFO] running `Command { std: "docker" "start" "-a" "15c500b7f8a699d979f9f2f9afe051f722577394356a684b9f9661ddfb0d319a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15c500b7f8a699d979f9f2f9afe051f722577394356a684b9f9661ddfb0d319a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c500b7f8a699d979f9f2f9afe051f722577394356a684b9f9661ddfb0d319a", kill_on_drop: false }` [INFO] [stdout] 15c500b7f8a699d979f9f2f9afe051f722577394356a684b9f9661ddfb0d319a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e47a551db9389995d5affe8dc2d414633ab14ca922e5cc03ced7f26747009b [INFO] running `Command { std: "docker" "start" "-a" "d9e47a551db9389995d5affe8dc2d414633ab14ca922e5cc03ced7f26747009b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.216 [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.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [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.13 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking simple_db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn open(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/lib.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn open(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::State` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::State; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::State` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::State; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut db = db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut db = db.lock().unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/api.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | async fn list_handler(table: String, db: &State>) -> Json> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [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/api.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut db = db.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/api.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | async fn list_handler(table: String, db: &State>) -> Json> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [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/api.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut db = db.lock().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.76s [INFO] running `Command { std: "docker" "inspect" "d9e47a551db9389995d5affe8dc2d414633ab14ca922e5cc03ced7f26747009b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e47a551db9389995d5affe8dc2d414633ab14ca922e5cc03ced7f26747009b", kill_on_drop: false }` [INFO] [stdout] d9e47a551db9389995d5affe8dc2d414633ab14ca922e5cc03ced7f26747009b