[INFO] updating cached repository anon767/rust-webserver [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/anon767/rust-webserver [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/anon767/rust-webserver" "work/ex/beta-1.38-1/sources/1.37.0/gh/anon767/rust-webserver"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/anon767/rust-webserver'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/anon767/rust-webserver" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anon767/rust-webserver"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anon767/rust-webserver'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f494664f23657a820a17d9487302e2ee84f0bdee [INFO] sha for GitHub repo anon767/rust-webserver: f494664f23657a820a17d9487302e2ee84f0bdee [INFO] validating manifest of anon767/rust-webserver on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of anon767/rust-webserver on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing anon767/rust-webserver [INFO] finished frobbing anon767/rust-webserver [INFO] frobbed toml for anon767/rust-webserver written to work/ex/beta-1.38-1/sources/1.37.0/gh/anon767/rust-webserver/Cargo.toml [INFO] started frobbing anon767/rust-webserver [INFO] finished frobbing anon767/rust-webserver [INFO] frobbed toml for anon767/rust-webserver written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anon767/rust-webserver/Cargo.toml [INFO] crate anon767/rust-webserver already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing anon767/rust-webserver against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anon767/rust-webserver:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 63446f2010e65a006b41da6a1a277a937751064b28c45aae87aa9f2660409604 [INFO] running `"docker" "start" "-a" "63446f2010e65a006b41da6a1a277a937751064b28c45aae87aa9f2660409604"` [INFO] [stderr] Compiling uuid v0.1.18 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling url v0.2.38 [INFO] [stderr] Compiling tiny_http v0.5.8 [INFO] [stderr] Compiling webserver v0.1.0 (/opt/crater/workdir) [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 used: `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 used: `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 used: `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] Finished dev [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `"docker" "inspect" "63446f2010e65a006b41da6a1a277a937751064b28c45aae87aa9f2660409604"` [INFO] running `"docker" "rm" "-f" "63446f2010e65a006b41da6a1a277a937751064b28c45aae87aa9f2660409604"` [INFO] [stdout] 63446f2010e65a006b41da6a1a277a937751064b28c45aae87aa9f2660409604 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/anon767/rust-webserver:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 1b236da919db5ae783eea0d1b71dfb5a51612ccac9a7becea047bb30fd7f562a [INFO] running `"docker" "start" "-a" "1b236da919db5ae783eea0d1b71dfb5a51612ccac9a7becea047bb30fd7f562a"` [INFO] [stderr] Compiling getopts v0.2.16 [INFO] [stderr] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/crater/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] running `"docker" "inspect" "1b236da919db5ae783eea0d1b71dfb5a51612ccac9a7becea047bb30fd7f562a"` [INFO] running `"docker" "rm" "-f" "1b236da919db5ae783eea0d1b71dfb5a51612ccac9a7becea047bb30fd7f562a"` [INFO] [stdout] 1b236da919db5ae783eea0d1b71dfb5a51612ccac9a7becea047bb30fd7f562a