[INFO] cloning repository https://github.com/fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuji-184%2FUbi-JavaScript_Backend_Framework_For_Learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuji-184%2FUbi-JavaScript_Backend_Framework_For_Learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a2f3b00eb5924c68c8d55499d9a03e3fb149811 [INFO] checking fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-136776-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuji-184%2FUbi-JavaScript_Backend_Framework_For_Learning" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning [INFO] finished tweaking git repo https://github.com/fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning [INFO] tweaked toml for git repo https://github.com/fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fuji-184/Ubi-JavaScript_Backend_Framework_For_Learning 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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Xudong-Huang/may_postgres.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.11 [INFO] [stderr] Downloaded rust-embed-utils v8.7.0 [INFO] [stderr] Downloaded notify-debouncer-mini v0.4.1 [INFO] [stderr] Downloaded rust-embed-impl v8.7.0 [INFO] [stderr] Downloaded generator v0.8.4 [INFO] [stderr] Downloaded core_affinity v0.8.3 [INFO] [stderr] Downloaded clap v4.5.37 [INFO] [stderr] Downloaded zerocopy-derive v0.8.24 [INFO] [stderr] Downloaded may v0.3.49 [INFO] [stderr] Downloaded zerocopy v0.8.24 [INFO] [stderr] Downloaded clap_builder v4.5.37 [INFO] [stderr] Downloaded rust-embed v8.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2372f9cf41f786debd73e1cb20e9c081c51e6c66541b000a7ee84c208467c194 [INFO] running `Command { std: "docker" "start" "-a" "2372f9cf41f786debd73e1cb20e9c081c51e6c66541b000a7ee84c208467c194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2372f9cf41f786debd73e1cb20e9c081c51e6c66541b000a7ee84c208467c194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2372f9cf41f786debd73e1cb20e9c081c51e6c66541b000a7ee84c208467c194", kill_on_drop: false }` [INFO] [stdout] 2372f9cf41f786debd73e1cb20e9c081c51e6c66541b000a7ee84c208467c194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9568e6247f822e296c8d6be93297aa1eea826c95b57bf085bd517f8ebbe21816 [INFO] running `Command { std: "docker" "start" "-a" "9568e6247f822e296c8d6be93297aa1eea826c95b57bf085bd517f8ebbe21816", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling generator v0.8.4 [INFO] [stderr] Compiling may_queue v0.1.23 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling may v0.3.49 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking rust-embed-utils v8.7.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rust-embed-impl v8.7.0 [INFO] [stderr] Checking notify-debouncer-mini v0.4.1 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Checking rust-embed v8.7.0 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking may_postgres v0.1.0 (https://github.com/Xudong-Huang/may_postgres.git#22f87877) [INFO] [stderr] Checking ubi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/tools/migration.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use may_postgres::{Client}; [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: `serde_json::json` [INFO] [stdout] --> src/tools/migration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tools::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tools::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/tools/migration.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use may_postgres::{Client}; [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: `sync::mpsc::channel` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | sync::mpsc::channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecommendedWatcher` [INFO] [stdout] --> src/main.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | use notify::{Watcher, RecursiveMode, RecommendedWatcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/tools/migration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tools::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tools::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::mpsc::channel` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | sync::mpsc::channel, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RecommendedWatcher` [INFO] [stdout] --> src/main.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | use notify::{Watcher, RecursiveMode, RecommendedWatcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebouncedEventKind` [INFO] [stdout] --> src/main.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | use notify_debouncer_mini::{new_debouncer, DebouncedEventKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebouncedEventKind` [INFO] [stdout] --> src/main.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | use notify_debouncer_mini::{new_debouncer, DebouncedEventKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/main.rs:2518:21 [INFO] [stdout] | [INFO] [stdout] 2518 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/main.rs:2518:21 [INFO] [stdout] | [INFO] [stdout] 2518 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use notify::{Watcher, RecursiveMode, RecommendedWatcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use notify::{Watcher, RecursiveMode, RecommendedWatcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_templates` [INFO] [stdout] --> src/main.rs:1772:9 [INFO] [stdout] | [INFO] [stdout] 1772 | let input_templates = ["{:[1]}"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_templates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_templates` [INFO] [stdout] --> src/main.rs:1774:9 [INFO] [stdout] | [INFO] [stdout] 1774 | let output_templates = ["
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_templates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/main.rs:1820:29 [INFO] [stdout] | [INFO] [stdout] 1820 | if let Some(path_str) = entry.path().to_str() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name2` [INFO] [stdout] --> src/main.rs:1944:17 [INFO] [stdout] | [INFO] [stdout] 1944 | let file_name2 = file_name.strip_suffix(".rs").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_templates` [INFO] [stdout] --> src/main.rs:1772:9 [INFO] [stdout] | [INFO] [stdout] 1772 | let input_templates = ["{:[1]}"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_templates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_templates` [INFO] [stdout] --> src/main.rs:1774:9 [INFO] [stdout] | [INFO] [stdout] 1774 | let output_templates = [" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_templates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_str` [INFO] [stdout] --> src/main.rs:1820:29 [INFO] [stdout] | [INFO] [stdout] 1820 | if let Some(path_str) = entry.path().to_str() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name2` [INFO] [stdout] --> src/main.rs:1944:17 [INFO] [stdout] | [INFO] [stdout] 1944 | let file_name2 = file_name.strip_suffix(".rs").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_doc` [INFO] [stdout] --> src/main.rs:2338:5 [INFO] [stdout] | [INFO] [stdout] 2338 | let updated_doc = re_tags.replace(&updated_doc, |caps: ®ex::Captures| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2544:21 [INFO] [stdout] | [INFO] [stdout] 2544 | let mut child = match StdCommand::new("./build/app_dev") [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: `updated_doc` [INFO] [stdout] --> src/main.rs:2338:5 [INFO] [stdout] | [INFO] [stdout] 2338 | let updated_doc = re_tags.replace(&updated_doc, |caps: ®ex::Captures| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:2544:21 [INFO] [stdout] | [INFO] [stdout] 2544 | let mut child = match StdCommand::new("./build/app_dev") [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: function `get_html` is never used [INFO] [stdout] --> src/main.rs:1534:4 [INFO] [stdout] | [INFO] [stdout] 1534 | fn get_html( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_folder` is never used [INFO] [stdout] --> src/main.rs:1812:4 [INFO] [stdout] | [INFO] [stdout] 1812 | fn process_folder(folder_path: &str) -> Result<(), Box