[INFO] cloning repository https://github.com/dEajL3kA/rusty_httpd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dEajL3kA/rusty_httpd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdEajL3kA%2Frusty_httpd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdEajL3kA%2Frusty_httpd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4c30a87364286d40cb294932f47d8c9351d985e [INFO] checking dEajL3kA/rusty_httpd against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdEajL3kA%2Frusty_httpd" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/dEajL3kA/rusty_httpd [INFO] finished tweaking git repo https://github.com/dEajL3kA/rusty_httpd [INFO] tweaked toml for git repo https://github.com/dEajL3kA/rusty_httpd written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dEajL3kA/rusty_httpd on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dEajL3kA/rusty_httpd 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 858021a49cb6e8f1c6b293b7d275b6fa9887b7c6d0b0dd7621d8fbbb70dc1bba [INFO] running `Command { std: "docker" "start" "-a" "858021a49cb6e8f1c6b293b7d275b6fa9887b7c6d0b0dd7621d8fbbb70dc1bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "858021a49cb6e8f1c6b293b7d275b6fa9887b7c6d0b0dd7621d8fbbb70dc1bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "858021a49cb6e8f1c6b293b7d275b6fa9887b7c6d0b0dd7621d8fbbb70dc1bba", kill_on_drop: false }` [INFO] [stdout] 858021a49cb6e8f1c6b293b7d275b6fa9887b7c6d0b0dd7621d8fbbb70dc1bba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef392fe0a1b03a2f21275e1b04a9a6f78991d0a3b3369463a0ea951baeb20585 [INFO] running `Command { std: "docker" "start" "-a" "ef392fe0a1b03a2f21275e1b04a9a6f78991d0a3b3369463a0ea951baeb20585", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling rustix v0.36.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking spare_buffer v0.1.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking lazy_rc v0.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking urlencoding v2.1.2 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking case_insensitive_hashmap v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mtcp-rs v0.1.11 [INFO] [stderr] Checking is-terminal v0.4.3 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking ctrlc v3.2.5 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling winres v0.1.12 [INFO] [stderr] Compiling rusty_httpd v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/utils/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub use value::{Value, ValueMap}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/utils/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub use value::{Value, ValueMap}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/query_string.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn decode(str: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn decode(str: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/http/headers.rs:20:74 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn values(&'buf self, name: &str) -> Option> { [INFO] [stdout] | ---- the lifetime is named here ^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'buf` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn values(&'buf self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn headers(&self) -> Option<&Headers> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn headers(&self) -> Option<&Headers<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn query(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn query(&self) -> Option<&QueryString<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/web/web_handler.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | .or_else(|| PathBuf::from_str("index.html").ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/query_string.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn decode(str: &str) -> Cow { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | fn decode(str: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/http/headers.rs:20:74 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn values(&'buf self, name: &str) -> Option> { [INFO] [stdout] | ---- the lifetime is named here ^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'buf` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn values(&'buf self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn headers(&self) -> Option<&Headers> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn headers(&self) -> Option<&Headers<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn query(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn query(&self) -> Option<&QueryString<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/web/web_handler.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | .or_else(|| PathBuf::from_str("index.html").ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_httpd` (bin "rusty_httpd") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusty_httpd` (bin "rusty_httpd" test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef392fe0a1b03a2f21275e1b04a9a6f78991d0a3b3369463a0ea951baeb20585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef392fe0a1b03a2f21275e1b04a9a6f78991d0a3b3369463a0ea951baeb20585", kill_on_drop: false }` [INFO] [stdout] ef392fe0a1b03a2f21275e1b04a9a6f78991d0a3b3369463a0ea951baeb20585