[INFO] cloning repository https://github.com/plscar/r_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plscar/r_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2Fr_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2Fr_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5999c50e90ca0351c7910a8e82232b29955928fd [INFO] checking plscar/r_server against master#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2Fr_server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plscar/r_server on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/plscar/r_server [INFO] finished tweaking git repo https://github.com/plscar/r_server [INFO] tweaked toml for git repo https://github.com/plscar/r_server written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/plscar/r_server 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" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfbac1316b2c39839e1931c5198605380378331fba728029cfff0709d46ab5ac [INFO] running `Command { std: "docker" "start" "-a" "dfbac1316b2c39839e1931c5198605380378331fba728029cfff0709d46ab5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfbac1316b2c39839e1931c5198605380378331fba728029cfff0709d46ab5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfbac1316b2c39839e1931c5198605380378331fba728029cfff0709d46ab5ac", kill_on_drop: false }` [INFO] [stdout] dfbac1316b2c39839e1931c5198605380378331fba728029cfff0709d46ab5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63699900e5500d42a31c736f215982c149cfdbec11ef6752a462690d6a18cece [INFO] running `Command { std: "docker" "start" "-a" "63699900e5500d42a31c736f215982c149cfdbec11ef6752a462690d6a18cece", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking r_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/common/declare.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | let myfunctions=HashMap::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/common/declare.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | let myfunctions=HashMap::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/listener/httphandler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `request_para` should have an upper camel case name [INFO] [stdout] --> src/listener/httphandler.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct request_para { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RequestPara` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/listener/httphandler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `request_para` should have an upper camel case name [INFO] [stdout] --> src/listener/httphandler.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct request_para { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RequestPara` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | for mut stream in listener.incoming() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `para_split` [INFO] [stdout] --> src/listener/httphandler.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let para_split=splitRequires(&request_msg,"POST ",defaultpath); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_para_split` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | for mut stream in listener.incoming() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `para_split` [INFO] [stdout] --> src/listener/httphandler.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let para_split=splitRequires(&request_msg,"POST ",defaultpath); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_para_split` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_res` [INFO] [stdout] --> src/listener/httphandler.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut f_res=String::new(); //记录请求文件的请求结果 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_f_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_res` [INFO] [stdout] --> src/listener/httphandler.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut f_res=String::new(); //记录请求文件的请求结果 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_f_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut myfirst,mut mysecond)=second.split_at(idx_para_value); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut myfirst,mut mysecond)=second.split_at(idx_para_value); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut myfirst,mut mysecond)=second.split_at(idx_para_value); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let (mut myfirst,mut mysecond)=second.split_at(idx_para_value); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut f_res=String::new(); //记录请求文件的请求结果 [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listener/httphandler.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let mut f_res=String::new(); //记录请求文件的请求结果 [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r_server` (lib) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `r_server` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63699900e5500d42a31c736f215982c149cfdbec11ef6752a462690d6a18cece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63699900e5500d42a31c736f215982c149cfdbec11ef6752a462690d6a18cece", kill_on_drop: false }` [INFO] [stdout] 63699900e5500d42a31c736f215982c149cfdbec11ef6752a462690d6a18cece