[INFO] cloning repository https://github.com/credmp/hed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/credmp/hed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcredmp%2Fhed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcredmp%2Fhed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dbfb4790fc3dcf13f6ee99e6c6c4e8df0dea2bc [INFO] checking credmp/hed 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%2Fcredmp%2Fhed" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/credmp/hed [INFO] finished tweaking git repo https://github.com/credmp/hed [INFO] tweaked toml for git repo https://github.com/credmp/hed written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/credmp/hed 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/credmp/hed 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2d6e96296bea932cdfaf1c82d7a83283696b9f130c08a149ef86b9213bd3fdd1 [INFO] running `Command { std: "docker" "start" "-a" "2d6e96296bea932cdfaf1c82d7a83283696b9f130c08a149ef86b9213bd3fdd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d6e96296bea932cdfaf1c82d7a83283696b9f130c08a149ef86b9213bd3fdd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6e96296bea932cdfaf1c82d7a83283696b9f130c08a149ef86b9213bd3fdd1", kill_on_drop: false }` [INFO] [stdout] 2d6e96296bea932cdfaf1c82d7a83283696b9f130c08a149ef86b9213bd3fdd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 5a84d830c803890f1c7c9900300f1ee512439a28717c04ad3e7099b3dd9ef6dc [INFO] running `Command { std: "docker" "start" "-a" "5a84d830c803890f1c7c9900300f1ee512439a28717c04ad3e7099b3dd9ef6dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking eyre v0.6.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking sudo v0.6.0 [INFO] [stderr] Checking faccess v0.2.4 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling clap_derive v4.0.7 [INFO] [stderr] Checking clap v4.0.7 [INFO] [stderr] Checking hed v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 235 | | let comment = Regex::new(r"^#\s*(?P.+)\s*$").unwrap(); [INFO] [stdout] 236 | | let entry = [INFO] [stdout] 237 | | Regex::new(r"^(?P.+?)\s+(?P.+?)(\s+(?P[^#]+))?(#\s*(?P.*))?$") [INFO] [stdout] ... | [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | / if comment.is_match(s) { [INFO] [stdout] 240 | | Ok(comment [INFO] [stdout] 241 | | .captures(s) [INFO] [stdout] 242 | | .map(|cap| HostEntry { [INFO] [stdout] ... | [INFO] [stdout] 280 | | }) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | if comment.is_match(s) { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 240 | | Ok(comment [INFO] [stdout] 241 | | .captures(s) [INFO] [stdout] 242 | | .map(|cap| HostEntry { [INFO] [stdout] ... | [INFO] [stdout] 248 | | .unwrap()) [INFO] [stdout] 249 | | } else if entry.is_match(s) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | / Ok(comment [INFO] [stdout] 241 | | .captures(s) [INFO] [stdout] 242 | | .map(|cap| HostEntry { [INFO] [stdout] 243 | | ip: None, [INFO] [stdout] ... | [INFO] [stdout] 247 | | }) [INFO] [stdout] 248 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | } else if entry.is_match(s) { [INFO] [stdout] | ________________^ [INFO] [stdout] 250 | | let caps = entry.captures(s).unwrap(); [INFO] [stdout] 251 | | let ip_str = caps.name("ip").map(|t| t.as_str()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 280 | | }) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | } else if entry.is_match(s) { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 250 | | let caps = entry.captures(s).unwrap(); [INFO] [stdout] 251 | | let ip_str = caps.name("ip").map(|t| t.as_str()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 273 | | }) [INFO] [stdout] 274 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | / Ok(HostEntry { [INFO] [stdout] 269 | | ip, [INFO] [stdout] 270 | | name, [INFO] [stdout] 271 | | aliasses: alias_vec, [INFO] [stdout] 272 | | comment, [INFO] [stdout] 273 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:274:16 [INFO] [stdout] | [INFO] [stdout] 274 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 275 | | Ok(HostEntry { [INFO] [stdout] 276 | | ip: None, [INFO] [stdout] 277 | | name: None, [INFO] [stdout] ... | [INFO] [stdout] 280 | | }) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | / Ok(HostEntry { [INFO] [stdout] 276 | | ip: None, [INFO] [stdout] 277 | | name: None, [INFO] [stdout] 278 | | aliasses: None, [INFO] [stdout] 279 | | comment: None, [INFO] [stdout] 280 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostfile.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|l| match l.unwrap_or_else(|_e| "".to_string()).parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hed` (bin "hed") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 235 | | let comment = Regex::new(r"^#\s*(?P.+)\s*$").unwrap(); [INFO] [stdout] 236 | | let entry = [INFO] [stdout] 237 | | Regex::new(r"^(?P.+?)\s+(?P.+?)(\s+(?P[^#]+))?(#\s*(?P.*))?$") [INFO] [stdout] ... | [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | / if comment.is_match(s) { [INFO] [stdout] 240 | | Ok(comment [INFO] [stdout] 241 | | .captures(s) [INFO] [stdout] 242 | | .map(|cap| HostEntry { [INFO] [stdout] ... | [INFO] [stdout] 280 | | }) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | if comment.is_match(s) { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 240 | | Ok(comment [INFO] [stdout] 241 | | .captures(s) [INFO] [stdout] 242 | | .map(|cap| HostEntry { [INFO] [stdout] ... | [INFO] [stdout] 248 | | .unwrap()) [INFO] [stdout] 249 | | } else if entry.is_match(s) { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | / Ok(comment [INFO] [stdout] 241 | | .captures(s) [INFO] [stdout] 242 | | .map(|cap| HostEntry { [INFO] [stdout] 243 | | ip: None, [INFO] [stdout] ... | [INFO] [stdout] 247 | | }) [INFO] [stdout] 248 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | } else if entry.is_match(s) { [INFO] [stdout] | ________________^ [INFO] [stdout] 250 | | let caps = entry.captures(s).unwrap(); [INFO] [stdout] 251 | | let ip_str = caps.name("ip").map(|t| t.as_str()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 280 | | }) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:249:37 [INFO] [stdout] | [INFO] [stdout] 249 | } else if entry.is_match(s) { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 250 | | let caps = entry.captures(s).unwrap(); [INFO] [stdout] 251 | | let ip_str = caps.name("ip").map(|t| t.as_str()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 273 | | }) [INFO] [stdout] 274 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 268 | / Ok(HostEntry { [INFO] [stdout] 269 | | ip, [INFO] [stdout] 270 | | name, [INFO] [stdout] 271 | | aliasses: alias_vec, [INFO] [stdout] 272 | | comment, [INFO] [stdout] 273 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:274:16 [INFO] [stdout] | [INFO] [stdout] 274 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 275 | | Ok(HostEntry { [INFO] [stdout] 276 | | ip: None, [INFO] [stdout] 277 | | name: None, [INFO] [stdout] ... | [INFO] [stdout] 280 | | }) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | / Ok(HostEntry { [INFO] [stdout] 276 | | ip: None, [INFO] [stdout] 277 | | name: None, [INFO] [stdout] 278 | | aliasses: None, [INFO] [stdout] 279 | | comment: None, [INFO] [stdout] 280 | | }) [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | let entry: HostEntry = "1.1.1.1 arjenwiersma.nl".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:499:32 [INFO] [stdout] | [INFO] [stdout] 499 | let entry: HostEntry = "".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:507:32 [INFO] [stdout] | [INFO] [stdout] 507 | let entry: HostEntry = "1.1.1.1 arjenwiersma.nl alias1 alias2".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:516:32 [INFO] [stdout] | [INFO] [stdout] 516 | let entry: HostEntry = "1.1.1.1 arjenwiersma.nl alias1 alias2 # testing" [INFO] [stdout] | ________________________________^ [INFO] [stdout] 517 | | .parse() [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostentry.rs:528:32 [INFO] [stdout] | [INFO] [stdout] 528 | let entry: HostEntry = "# from string".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/hostfile.rs:70:36 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|l| match l.unwrap_or_else(|_e| "".to_string()).parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hed` (bin "hed" test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "5a84d830c803890f1c7c9900300f1ee512439a28717c04ad3e7099b3dd9ef6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a84d830c803890f1c7c9900300f1ee512439a28717c04ad3e7099b3dd9ef6dc", kill_on_drop: false }` [INFO] [stdout] 5a84d830c803890f1c7c9900300f1ee512439a28717c04ad3e7099b3dd9ef6dc