[INFO] cloning repository https://github.com/anon767/rust-webserver [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anon767/rust-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanon767%2Frust-webserver"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanon767%2Frust-webserver'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f494664f23657a820a17d9487302e2ee84f0bdee [INFO] testing anon767/rust-webserver against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanon767%2Frust-webserver" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anon767/rust-webserver on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/anon767/rust-webserver [INFO] finished tweaking git repo https://github.com/anon767/rust-webserver [INFO] tweaked toml for git repo https://github.com/anon767/rust-webserver written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/anon767/rust-webserver already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a3268da55e17dce0c8ee8958bd469034e6620868746a05cbcf9073324e71b3b8 [INFO] running `"docker" "start" "-a" "a3268da55e17dce0c8ee8958bd469034e6620868746a05cbcf9073324e71b3b8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.3.20 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling uuid v0.1.18 [INFO] [stderr] Compiling url v0.2.38 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling tiny_http v0.5.8 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling webserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/config.rs:18:49 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn parse_config(content: &String) -> Result<(ConfigDocument), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/config.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | let config: Result<(ConfigDocument), Error> = parse_config(&content); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/threadpool.rs:23:16 [INFO] [stderr] | [INFO] [stderr] 23 | type Job = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::error::Error` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use serde_json::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `server::*` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use server::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Request`, `Response` [INFO] [stderr] --> src/main.rs:15:23 [INFO] [stderr] | [INFO] [stderr] 15 | use self::tiny_http::{Response, Request}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `workers` [INFO] [stderr] --> src/threadpool.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | workers: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/threadpool.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | id: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `thread` [INFO] [stderr] --> src/threadpool.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | thread: thread::JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `webServer` should have a snake case name [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let webServer = server::WebServer; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `web_server` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/server.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | request.respond(response); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.48s [INFO] running `"docker" "inspect" "a3268da55e17dce0c8ee8958bd469034e6620868746a05cbcf9073324e71b3b8"` [INFO] running `"docker" "rm" "-f" "a3268da55e17dce0c8ee8958bd469034e6620868746a05cbcf9073324e71b3b8"` [INFO] [stdout] a3268da55e17dce0c8ee8958bd469034e6620868746a05cbcf9073324e71b3b8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97fc88488e4a808d23e9bfb71014b95e117fd26d236d978378d583a15af83f81 [INFO] running `"docker" "start" "-a" "97fc88488e4a808d23e9bfb71014b95e117fd26d236d978378d583a15af83f81"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling getopts v0.2.16 [INFO] [stderr] Compiling serde_bytes v0.10.3 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.16/src/lib.rs:1026:33 [INFO] [stderr] | [INFO] [stderr] 971 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stderr] | ---------------------------------------- borrow of `state` occurs here [INFO] [stderr] ... [INFO] [stderr] 975 | state = match (state, whitespace, limit) { [INFO] [stderr] | ----- borrow occurs due to use of `state` in closure [INFO] [stderr] ... [INFO] [stderr] 1026 | while cont && match state { B | C => true, A => false } { [INFO] [stderr] | ^ use of borrowed `state` [INFO] [stderr] 1027 | machine(&mut cont, (fake_i, ' ')); [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0503`. [INFO] [stderr] error: could not compile `getopts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "97fc88488e4a808d23e9bfb71014b95e117fd26d236d978378d583a15af83f81"` [INFO] running `"docker" "rm" "-f" "97fc88488e4a808d23e9bfb71014b95e117fd26d236d978378d583a15af83f81"` [INFO] [stdout] 97fc88488e4a808d23e9bfb71014b95e117fd26d236d978378d583a15af83f81