[INFO] cloning repository https://github.com/s22h/rshttpd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s22h/rshttpd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs22h%2Frshttpd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs22h%2Frshttpd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 264bf392261f0f2dcd84f10c5f94a48f78b35215 [INFO] checking s22h/rshttpd against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs22h%2Frshttpd" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/s22h/rshttpd on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/s22h/rshttpd [INFO] finished tweaking git repo https://github.com/s22h/rshttpd [INFO] tweaked toml for git repo https://github.com/s22h/rshttpd written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/s22h/rshttpd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d6380b7ad76bef77cb9c4a03595c53e0d8b88f31f734ebce4b9b1f853ebc816 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d6380b7ad76bef77cb9c4a03595c53e0d8b88f31f734ebce4b9b1f853ebc816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d6380b7ad76bef77cb9c4a03595c53e0d8b88f31f734ebce4b9b1f853ebc816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6380b7ad76bef77cb9c4a03595c53e0d8b88f31f734ebce4b9b1f853ebc816", kill_on_drop: false }` [INFO] [stdout] 1d6380b7ad76bef77cb9c4a03595c53e0d8b88f31f734ebce4b9b1f853ebc816 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4afc7b7f52250aa03f22cb3a76110d329bc6b88aade181cf9feb0aa4deaea3f9 [INFO] running `Command { std: "docker" "start" "-a" "4afc7b7f52250aa03f22cb3a76110d329bc6b88aade181cf9feb0aa4deaea3f9", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking rshttpd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `now_utc` in crate `time` [INFO] [stdout] --> src/rshttpd/server.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | info!("Starting rshttpd. The time is {}", time::now_utc().ctime()); [INFO] [stdout] | ^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 13 | match env_logger::init() { [INFO] [stdout] | ------------------ this expression has type `()` [INFO] [stdout] 14 | Ok(_) => {}, [INFO] [stdout] | ^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 13 | match env_logger::init() { [INFO] [stdout] | ------------------ this expression has type `()` [INFO] [stdout] 14 | Ok(_) => {}, [INFO] [stdout] 15 | Err(e) => panic!("Could not initialize logger: {}", e) [INFO] [stdout] | ^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now_utc` in crate `time` [INFO] [stdout] --> src/rshttpd/server.rs:48:51 [INFO] [stdout] | [INFO] [stdout] 48 | info!("Starting rshttpd. The time is {}", time::now_utc().ctime()); [INFO] [stdout] | ^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 13 | match env_logger::init() { [INFO] [stdout] | ------------------ this expression has type `()` [INFO] [stdout] 14 | Ok(_) => {}, [INFO] [stdout] | ^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 13 | match env_logger::init() { [INFO] [stdout] | ------------------ this expression has type `()` [INFO] [stdout] 14 | Ok(_) => {}, [INFO] [stdout] 15 | Err(e) => panic!("Could not initialize logger: {}", e) [INFO] [stdout] | ^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `rshttpd::server::regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/rshttpd/server.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | let method = cap.at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `rshttpd::server::regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `rshttpd::server::regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/rshttpd/server.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let uri = cap.at(2).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `rshttpd::server::regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `rshttpd::server::regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/rshttpd/server.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | let method = cap.at(1).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `rshttpd::server::regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `rshttpd::server::regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/rshttpd/server.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let uri = cap.at(2).unwrap_or(""); [INFO] [stdout] | ^^ method not found in `rshttpd::server::regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rshttpd`. [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] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4afc7b7f52250aa03f22cb3a76110d329bc6b88aade181cf9feb0aa4deaea3f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4afc7b7f52250aa03f22cb3a76110d329bc6b88aade181cf9feb0aa4deaea3f9", kill_on_drop: false }` [INFO] [stdout] 4afc7b7f52250aa03f22cb3a76110d329bc6b88aade181cf9feb0aa4deaea3f9