[INFO] cloning repository https://github.com/toshinari123/judge-prototype [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toshinari123/judge-prototype" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoshinari123%2Fjudge-prototype", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoshinari123%2Fjudge-prototype'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce3b9f97067fbeb0c7d1ddd04ec5f48ca9f90d73 [INFO] testing toshinari123/judge-prototype against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoshinari123%2Fjudge-prototype" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/toshinari123/judge-prototype on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/toshinari123/judge-prototype [INFO] finished tweaking git repo https://github.com/toshinari123/judge-prototype [INFO] tweaked toml for git repo https://github.com/toshinari123/judge-prototype written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/toshinari123/judge-prototype 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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca1318c152daabd81ef7444a956c70b70ccfbfdae60b354555457f2ecdde8ad6 [INFO] running `Command { std: "docker" "start" "-a" "ca1318c152daabd81ef7444a956c70b70ccfbfdae60b354555457f2ecdde8ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca1318c152daabd81ef7444a956c70b70ccfbfdae60b354555457f2ecdde8ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca1318c152daabd81ef7444a956c70b70ccfbfdae60b354555457f2ecdde8ad6", kill_on_drop: false }` [INFO] [stdout] ca1318c152daabd81ef7444a956c70b70ccfbfdae60b354555457f2ecdde8ad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df4de2ef2c315e56d09210709db41c6e0575a962d7e91dd5ab33c4cbe19663f5 [INFO] running `Command { std: "docker" "start" "-a" "df4de2ef2c315e56d09210709db41c6e0575a962d7e91dd5ab33c4cbe19663f5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling universal-hash v0.5.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling polyval v0.6.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ref-cast v1.0.14 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Compiling ghash v0.5.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling phf v0.11.1 [INFO] [stderr] Compiling aead v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling aes-gcm v0.10.1 [INFO] [stderr] Compiling chrono-tz-build v0.0.3 [INFO] [stderr] Compiling pest v2.5.3 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling pest_meta v2.5.3 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling bstr v1.1.0 [INFO] [stderr] Compiling pest_generator v2.5.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling pest_derive v2.5.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling globset v0.4.10 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling chrono-tz v0.6.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling multer v2.0.4 [INFO] [stderr] Compiling figment v0.10.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.62 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling clap_lex v0.3.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling clap_derive v4.1.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ubyte v0.10.3 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling terminal_size v0.2.3 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling filetime v0.2.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling clap v4.1.1 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling syntect v5.0.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling handlebars v4.3.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling normpath v0.3.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling tera v1.17.1 [INFO] [stderr] Compiling comrak v0.15.0 [INFO] [stderr] Compiling rocket_dyn_templates v0.1.0-rc.2 [INFO] [stderr] Compiling judge2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ContentType` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::{Status, ContentType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::form::{self, Error, Form, Contextual, FromForm, FromFormField, Context}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::status` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::response::status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct Submit<'v> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/main.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | ... let cnt = submission_number.n.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromFormField` [INFO] [stdout] --> src/main.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::form::{self, Error, Form, Contextual, FromForm, FromFormField, Context}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn check<'v>(file: &TempFile) -> form::Result<'v, ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lastmodified` is never used [INFO] [stdout] --> src/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_lastmodified() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Language` should have a snake case name [INFO] [stdout] --> src/main.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | Language: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `language` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Submission` should have a snake case name [INFO] [stdout] --> src/main.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Submission: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `submission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Task` should have a snake case name [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Task: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | Time: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `User` should have a snake case name [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | User: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Language` should have a snake case name [INFO] [stdout] --> src/main.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `language` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Submission` should have a snake case name [INFO] [stdout] --> src/main.rs:153:43 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `submission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Task` should have a snake case name [INFO] [stdout] --> src/main.rs:153:63 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:153:77 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `User` should have a snake case name [INFO] [stdout] --> src/main.rs:153:91 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `subperpage` should have an upper case name [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | static subperpage: usize = 20; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `SUBPERPAGE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "df4de2ef2c315e56d09210709db41c6e0575a962d7e91dd5ab33c4cbe19663f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4de2ef2c315e56d09210709db41c6e0575a962d7e91dd5ab33c4cbe19663f5", kill_on_drop: false }` [INFO] [stdout] df4de2ef2c315e56d09210709db41c6e0575a962d7e91dd5ab33c4cbe19663f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b5b43f75ab087aa3962963384e419999b136d7c610036b6db0b1bed41048b6e [INFO] running `Command { std: "docker" "start" "-a" "8b5b43f75ab087aa3962963384e419999b136d7c610036b6db0b1bed41048b6e", kill_on_drop: false }` [INFO] [stderr] Compiling judge2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ContentType` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::{Status, ContentType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::form::{self, Error, Form, Contextual, FromForm, FromFormField, Context}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::status` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rocket::response::status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct Submit<'v> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/main.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | ... let cnt = submission_number.n.fetch_add(1, Ordering::Relaxed); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromFormField` [INFO] [stdout] --> src/main.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::form::{self, Error, Form, Contextual, FromForm, FromFormField, Context}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn check<'v>(file: &TempFile) -> form::Result<'v, ()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lastmodified` is never used [INFO] [stdout] --> src/main.rs:115:4 [INFO] [stdout] | [INFO] [stdout] 115 | fn get_lastmodified() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Language` should have a snake case name [INFO] [stdout] --> src/main.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | Language: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `language` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Submission` should have a snake case name [INFO] [stdout] --> src/main.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | Submission: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `submission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Task` should have a snake case name [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | Task: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | Time: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `User` should have a snake case name [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | User: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Language` should have a snake case name [INFO] [stdout] --> src/main.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `language` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Submission` should have a snake case name [INFO] [stdout] --> src/main.rs:153:43 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `submission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Task` should have a snake case name [INFO] [stdout] --> src/main.rs:153:63 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `task` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Time` should have a snake case name [INFO] [stdout] --> src/main.rs:153:77 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `User` should have a snake case name [INFO] [stdout] --> src/main.rs:153:91 [INFO] [stdout] | [INFO] [stdout] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `subperpage` should have an upper case name [INFO] [stdout] --> src/main.rs:157:8 [INFO] [stdout] | [INFO] [stdout] 157 | static subperpage: usize = 20; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `SUBPERPAGE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "8b5b43f75ab087aa3962963384e419999b136d7c610036b6db0b1bed41048b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5b43f75ab087aa3962963384e419999b136d7c610036b6db0b1bed41048b6e", kill_on_drop: false }` [INFO] [stdout] 8b5b43f75ab087aa3962963384e419999b136d7c610036b6db0b1bed41048b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 433e4777bee16df1c89ef06a12c3cd8c9379048213a720b30827b19d0725d7be [INFO] running `Command { std: "docker" "start" "-a" "433e4777bee16df1c89ef06a12c3cd8c9379048213a720b30827b19d0725d7be", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ContentType` [INFO] [stderr] --> src/main.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use rocket::http::{Status, ContentType}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/main.rs:3:26 [INFO] [stderr] | [INFO] [stderr] 3 | use rocket::form::{self, Error, Form, Contextual, FromForm, FromFormField, Context}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::BTreeMap` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::collections::BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rocket::response::status` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use rocket::response::status; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC for more information [INFO] [stderr] --> src/main.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | struct Submit<'v> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cnt` [INFO] [stderr] --> src/main.rs:63:41 [INFO] [stderr] | [INFO] [stderr] 63 | ... let cnt = submission_number.n.fetch_add(1, Ordering::Relaxed); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FromFormField` [INFO] [stderr] --> src/main.rs:3:61 [INFO] [stderr] | [INFO] [stderr] 3 | use rocket::form::{self, Error, Form, Contextual, FromForm, FromFormField, Context}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/main.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | fn check<'v>(file: &TempFile) -> form::Result<'v, ()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: function `get_lastmodified` is never used [INFO] [stderr] --> src/main.rs:115:4 [INFO] [stderr] | [INFO] [stderr] 115 | fn get_lastmodified() -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `Language` should have a snake case name [INFO] [stderr] --> src/main.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | Language: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `language` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `Submission` should have a snake case name [INFO] [stderr] --> src/main.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | Submission: String, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `submission` [INFO] [stderr] [INFO] [stderr] warning: structure field `Task` should have a snake case name [INFO] [stderr] --> src/main.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | Task: String, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `task` [INFO] [stderr] [INFO] [stderr] warning: structure field `Time` should have a snake case name [INFO] [stderr] --> src/main.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | Time: String, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stderr] [INFO] [stderr] warning: structure field `User` should have a snake case name [INFO] [stderr] --> src/main.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | User: String, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `user` [INFO] [stderr] [INFO] [stderr] warning: variable `Language` should have a snake case name [INFO] [stderr] --> src/main.rs:153:25 [INFO] [stderr] | [INFO] [stderr] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `language` [INFO] [stderr] [INFO] [stderr] warning: variable `Submission` should have a snake case name [INFO] [stderr] --> src/main.rs:153:43 [INFO] [stderr] | [INFO] [stderr] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `submission` [INFO] [stderr] [INFO] [stderr] warning: variable `Task` should have a snake case name [INFO] [stderr] --> src/main.rs:153:63 [INFO] [stderr] | [INFO] [stderr] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `task` [INFO] [stderr] [INFO] [stderr] warning: variable `Time` should have a snake case name [INFO] [stderr] --> src/main.rs:153:77 [INFO] [stderr] | [INFO] [stderr] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stderr] [INFO] [stderr] warning: variable `User` should have a snake case name [INFO] [stderr] --> src/main.rs:153:91 [INFO] [stderr] | [INFO] [stderr] 153 | fn new_submissionstruct(Language: String, Submission: String, Task: String, Time: String, User: String) -> Submission { [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `user` [INFO] [stderr] [INFO] [stderr] warning: static variable `subperpage` should have an upper case name [INFO] [stderr] --> src/main.rs:157:8 [INFO] [stderr] | [INFO] [stderr] 157 | static subperpage: usize = 20; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `SUBPERPAGE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `judge2` (bin "judge2" test) generated 20 warnings (run `cargo fix --bin "judge2" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/judge2-672a4c017e519890) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "433e4777bee16df1c89ef06a12c3cd8c9379048213a720b30827b19d0725d7be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433e4777bee16df1c89ef06a12c3cd8c9379048213a720b30827b19d0725d7be", kill_on_drop: false }` [INFO] [stdout] 433e4777bee16df1c89ef06a12c3cd8c9379048213a720b30827b19d0725d7be