[INFO] updating cached repository https://github.com/s22h/rshttpd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 264bf392261f0f2dcd84f10c5f94a48f78b35215 [INFO] checking s22h/rshttpd against master#8ac1525e091d3db28e67adcbbd6db1e1deaa37fb for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs22h%2Frshttpd" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/s22h/rshttpd on toolchain 8ac1525e091d3db28e67adcbbd6db1e1deaa37fb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "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-7/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" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "metadata" "--no-deps" "--format-version=1", 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] bf581be6799146f0ea2d526f7a962722df28325064ecefe00e936e7295939931 [INFO] running `Command { std: "docker" "start" "-a" "bf581be6799146f0ea2d526f7a962722df28325064ecefe00e936e7295939931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf581be6799146f0ea2d526f7a962722df28325064ecefe00e936e7295939931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf581be6799146f0ea2d526f7a962722df28325064ecefe00e936e7295939931", kill_on_drop: false }` [INFO] [stdout] bf581be6799146f0ea2d526f7a962722df28325064ecefe00e936e7295939931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575766ff5eb840a86ceaa4b08b60f09da41d12c47f4335acb68c22f718f8ad43 [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" "575766ff5eb840a86ceaa4b08b60f09da41d12c47f4335acb68c22f718f8ad43", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.2.16 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [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[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[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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "575766ff5eb840a86ceaa4b08b60f09da41d12c47f4335acb68c22f718f8ad43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575766ff5eb840a86ceaa4b08b60f09da41d12c47f4335acb68c22f718f8ad43", kill_on_drop: false }` [INFO] [stdout] 575766ff5eb840a86ceaa4b08b60f09da41d12c47f4335acb68c22f718f8ad43