[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#ac385a5af6d9fa8399a0cec799833cd28324abf8 for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2Fr_server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plscar/r_server on toolchain ac385a5af6d9fa8399a0cec799833cd28324abf8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "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-3-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" "+ac385a5af6d9fa8399a0cec799833cd28324abf8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking plscar/r_server against try#9130c02509ce15f69dc5da6359bb9d140d41d4ac for pr-125107 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplscar%2Fr_server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plscar/r_server on toolchain 9130c02509ce15f69dc5da6359bb9d140d41d4ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "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-3-tc2/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" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 155ac1f0717de4a8749658f30c71cc1fc1e3e0d1090e15c7617f1af13223c850 [INFO] running `Command { std: "docker" "start" "-a" "155ac1f0717de4a8749658f30c71cc1fc1e3e0d1090e15c7617f1af13223c850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "155ac1f0717de4a8749658f30c71cc1fc1e3e0d1090e15c7617f1af13223c850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "155ac1f0717de4a8749658f30c71cc1fc1e3e0d1090e15c7617f1af13223c850", kill_on_drop: false }` [INFO] [stdout] 155ac1f0717de4a8749658f30c71cc1fc1e3e0d1090e15c7617f1af13223c850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+9130c02509ce15f69dc5da6359bb9d140d41d4ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b1415f167f10c8e138453be178afe5bb7f0a519bbc6c10688dfa28030829827 [INFO] running `Command { std: "docker" "start" "-a" "0b1415f167f10c8e138453be178afe5bb7f0a519bbc6c10688dfa28030829827", kill_on_drop: false }` [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] | ^^^ consider using `const` or `static` instead of `let` for global variables [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] | ^^^ consider using `const` or `static` instead of `let` for global variables [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFns` in module `declare` [INFO] [stdout] --> src/listener/httphandler.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | declare::GetFns("demomymy"); [INFO] [stdout] | ^^^^^^ not found in `declare` [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] error[E0425]: cannot find function, tuple struct or tuple variant `GetFns` in module `declare` [INFO] [stdout] --> src/listener/httphandler.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | declare::GetFns("demomymy"); [INFO] [stdout] | ^^^^^^ not found in `declare` [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: 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: `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: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: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] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `r_server` (lib) due to 3 previous errors; 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 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b1415f167f10c8e138453be178afe5bb7f0a519bbc6c10688dfa28030829827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1415f167f10c8e138453be178afe5bb7f0a519bbc6c10688dfa28030829827", kill_on_drop: false }` [INFO] [stdout] 0b1415f167f10c8e138453be178afe5bb7f0a519bbc6c10688dfa28030829827