[INFO] cloning repository https://github.com/ngmiller/bips-dev [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ngmiller/bips-dev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngmiller%2Fbips-dev", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fngmiller%2Fbips-dev'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dd59c3435e0ca4e30457b0d0a8054547e7d0abd [INFO] checking ngmiller/bips-dev 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%2Fngmiller%2Fbips-dev" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ngmiller/bips-dev [INFO] finished tweaking git repo https://github.com/ngmiller/bips-dev [INFO] tweaked toml for git repo https://github.com/ngmiller/bips-dev written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ngmiller/bips-dev 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/ngmiller/bips-dev 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2e578fb516e248be287ad2f0fc80780a12bb4b7049f00fd5bf5e4cf4028fcbfa [INFO] running `Command { std: "docker" "start" "-a" "2e578fb516e248be287ad2f0fc80780a12bb4b7049f00fd5bf5e4cf4028fcbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e578fb516e248be287ad2f0fc80780a12bb4b7049f00fd5bf5e4cf4028fcbfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e578fb516e248be287ad2f0fc80780a12bb4b7049f00fd5bf5e4cf4028fcbfa", kill_on_drop: false }` [INFO] [stdout] 2e578fb516e248be287ad2f0fc80780a12bb4b7049f00fd5bf5e4cf4028fcbfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9d1dd6c42f1066a746345f2f404642a24b0626c565416c9c4153feba79451b32 [INFO] running `Command { std: "docker" "start" "-a" "9d1dd6c42f1066a746345f2f404642a24b0626c565416c9c4153feba79451b32", kill_on_drop: false }` [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking bips-dev v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | ... render_line(reference, &mut empty).unwrap() [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/bip.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | Some(format!("{}\n", render_line(line, &mut self.refs).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | render_line(&line["#*".len()..line.len()], &mut self.refs).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | render_line(trimmed, &mut self.refs).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | render_line(&clean[level..line.len()], &mut self.refs).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:292:38 [INFO] [stdout] | [INFO] [stdout] 292 | ... .map(|r| render_line(r, &mut self.refs).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:355:38 [INFO] [stdout] | [INFO] [stdout] 355 | ... .map(|r| render_line(r, &mut self.refs).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:446:82 [INFO] [stdout] | [INFO] [stdout] 446 | fn render_line(line: &str, refs: &mut Vec) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 447 | | replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] ... | [INFO] [stdout] 453 | | .and_then(replace_code_tag) [INFO] [stdout] 454 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] 451 | | .and_then(replace_bold) [INFO] [stdout] 452 | | .and_then(replace_italic) [INFO] [stdout] 453 | | .and_then(replace_code_tag) [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] 451 | | .and_then(replace_bold) [INFO] [stdout] 452 | | .and_then(replace_italic) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] 451 | | .and_then(replace_bold) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | replace_nop(line.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:456:60 [INFO] [stdout] | [INFO] [stdout] 456 | fn replace_nop(line: String) -> Result { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 457 | | Ok(line) [INFO] [stdout] 458 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | Ok(line) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:460:65 [INFO] [stdout] | [INFO] [stdout] 460 | fn replace_code_tag(line: String) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 461 | | Ok(line.replace("", "`").replace("", "`")) [INFO] [stdout] 462 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | Ok(line.replace("", "`").replace("", "`")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:464:61 [INFO] [stdout] | [INFO] [stdout] 464 | fn replace_bold(line: String) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 465 | | let mut buffer = String::new(); [INFO] [stdout] 466 | | let bold: Vec<(usize, &str)> = line.match_indices("'''").collect(); [INFO] [stdout] ... | [INFO] [stdout] 477 | | Ok(buffer) [INFO] [stdout] 478 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:480:63 [INFO] [stdout] | [INFO] [stdout] 480 | fn replace_italic(line: String) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 481 | | let mut buffer = String::new(); [INFO] [stdout] 482 | | let italic: Vec<(usize, &str)> = line.match_indices("''").collect(); [INFO] [stdout] ... | [INFO] [stdout] 493 | | Ok(buffer) [INFO] [stdout] 494 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:499:55 [INFO] [stdout] | [INFO] [stdout] 499 | move |line: String| -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 500 | | let mut buffer = String::new(); [INFO] [stdout] 501 | | let tags: Vec<((usize, &str), (usize, &str))> = line [INFO] [stdout] 502 | | .match_indices("") [INFO] [stdout] ... | [INFO] [stdout] 530 | | Ok(buffer) [INFO] [stdout] 531 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:535:71 [INFO] [stdout] | [INFO] [stdout] 535 | fn replace_internal_links(line: String) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 536 | | let mut buffer = String::new(); [INFO] [stdout] 537 | | let internal: Vec<((usize, &str), (usize, &str))> = line [INFO] [stdout] 538 | | .match_indices("[[") [INFO] [stdout] ... | [INFO] [stdout] 598 | | Ok(buffer) [INFO] [stdout] 599 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:545:16 [INFO] [stdout] | [INFO] [stdout] 545 | return Ok(line); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:625:71 [INFO] [stdout] | [INFO] [stdout] 625 | fn replace_external_links(line: String) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 626 | | let mut buffer = String::new(); [INFO] [stdout] 627 | | let mut external: Vec<(usize, usize)> = vec![]; [INFO] [stdout] 628 | | let mut open: u32 = 0; [INFO] [stdout] ... | [INFO] [stdout] 678 | | Ok(buffer) [INFO] [stdout] 679 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:914:13 [INFO] [stdout] | [INFO] [stdout] 914 | render_line("this line will stay the same", &mut Vec::default()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:922:13 [INFO] [stdout] | [INFO] [stdout] 922 | / render_line( [INFO] [stdout] 923 | | "this is some '''bold''' and ''italic'' text", [INFO] [stdout] 924 | | &mut Vec::default() [INFO] [stdout] 925 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:936:13 [INFO] [stdout] | [INFO] [stdout] 936 | render_line("this is some '''bold''' text", &mut Vec::default()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:946:13 [INFO] [stdout] | [INFO] [stdout] 946 | render_line("this is some ''italic'' text", &mut Vec::default()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:956:13 [INFO] [stdout] | [INFO] [stdout] 956 | render_line("test[foo bar]", &mut Vec::default()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:964:13 [INFO] [stdout] | [INFO] [stdout] 964 | render_line("test[foo bar] more", &mut Vec::default()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | render_line("first[foo bar] reference", &mut refs).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:979:13 [INFO] [stdout] | [INFO] [stdout] 979 | render_line("second[bar baz] reference", &mut refs).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | replace_internal_links("[[bip-0001.mediawiki|BIP 1]]".into()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:1002:13 [INFO] [stdout] | [INFO] [stdout] 1002 | replace_external_links("[https://test.com test]".into()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:1010:13 [INFO] [stdout] | [INFO] [stdout] 1010 | / replace_external_links( [INFO] [stdout] 1011 | | "[https://test.com test] hello [https://test.com another]".into() [INFO] [stdout] 1012 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:1025:13 [INFO] [stdout] | [INFO] [stdout] 1025 | replace_external_links("[https://test.com test][https://test.com another]".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:1038:13 [INFO] [stdout] | [INFO] [stdout] 1038 | replace_external_links("[https://test.com [lol] yep]".into()).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:1046:13 [INFO] [stdout] | [INFO] [stdout] 1046 | / replace_external_links( [INFO] [stdout] 1047 | | "[https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki BIP-65]".into() [INFO] [stdout] 1048 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bips-dev` (bin "bips-dev" test) due to 44 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/bip.rs:180:37 [INFO] [stdout] | [INFO] [stdout] 180 | ... render_line(reference, &mut empty).unwrap() [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/bip.rs:194:38 [INFO] [stdout] | [INFO] [stdout] 194 | Some(format!("{}\n", render_line(line, &mut self.refs).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:231:25 [INFO] [stdout] | [INFO] [stdout] 231 | render_line(&line["#*".len()..line.len()], &mut self.refs).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | render_line(trimmed, &mut self.refs).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | render_line(&clean[level..line.len()], &mut self.refs).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:292:38 [INFO] [stdout] | [INFO] [stdout] 292 | ... .map(|r| render_line(r, &mut self.refs).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:355:38 [INFO] [stdout] | [INFO] [stdout] 355 | ... .map(|r| render_line(r, &mut self.refs).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:446:82 [INFO] [stdout] | [INFO] [stdout] 446 | fn render_line(line: &str, refs: &mut Vec) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 447 | | replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] ... | [INFO] [stdout] 453 | | .and_then(replace_code_tag) [INFO] [stdout] 454 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] 451 | | .and_then(replace_bold) [INFO] [stdout] 452 | | .and_then(replace_italic) [INFO] [stdout] 453 | | .and_then(replace_code_tag) [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] 451 | | .and_then(replace_bold) [INFO] [stdout] 452 | | .and_then(replace_italic) [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] 451 | | .and_then(replace_bold) [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] 450 | | .and_then(replace_external_links) [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] 449 | | .and_then(replace_references(refs)) [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | / replace_nop(line.into()) [INFO] [stdout] 448 | | .and_then(replace_internal_links) [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | replace_nop(line.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:456:60 [INFO] [stdout] | [INFO] [stdout] 456 | fn replace_nop(line: String) -> Result { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 457 | | Ok(line) [INFO] [stdout] 458 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | Ok(line) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:460:65 [INFO] [stdout] | [INFO] [stdout] 460 | fn replace_code_tag(line: String) -> Result { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 461 | | Ok(line.replace("", "`").replace("", "`")) [INFO] [stdout] 462 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | Ok(line.replace("", "`").replace("", "`")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:464:61 [INFO] [stdout] | [INFO] [stdout] 464 | fn replace_bold(line: String) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 465 | | let mut buffer = String::new(); [INFO] [stdout] 466 | | let bold: Vec<(usize, &str)> = line.match_indices("'''").collect(); [INFO] [stdout] ... | [INFO] [stdout] 477 | | Ok(buffer) [INFO] [stdout] 478 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:480:63 [INFO] [stdout] | [INFO] [stdout] 480 | fn replace_italic(line: String) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 481 | | let mut buffer = String::new(); [INFO] [stdout] 482 | | let italic: Vec<(usize, &str)> = line.match_indices("''").collect(); [INFO] [stdout] ... | [INFO] [stdout] 493 | | Ok(buffer) [INFO] [stdout] 494 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:499:55 [INFO] [stdout] | [INFO] [stdout] 499 | move |line: String| -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 500 | | let mut buffer = String::new(); [INFO] [stdout] 501 | | let tags: Vec<((usize, &str), (usize, &str))> = line [INFO] [stdout] 502 | | .match_indices("") [INFO] [stdout] ... | [INFO] [stdout] 530 | | Ok(buffer) [INFO] [stdout] 531 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:535:71 [INFO] [stdout] | [INFO] [stdout] 535 | fn replace_internal_links(line: String) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 536 | | let mut buffer = String::new(); [INFO] [stdout] 537 | | let internal: Vec<((usize, &str), (usize, &str))> = line [INFO] [stdout] 538 | | .match_indices("[[") [INFO] [stdout] ... | [INFO] [stdout] 598 | | Ok(buffer) [INFO] [stdout] 599 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:545:16 [INFO] [stdout] | [INFO] [stdout] 545 | return Ok(line); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:625:71 [INFO] [stdout] | [INFO] [stdout] 625 | fn replace_external_links(line: String) -> Result { [INFO] [stdout] | _______________________________________________________________________^ [INFO] [stdout] 626 | | let mut buffer = String::new(); [INFO] [stdout] 627 | | let mut external: Vec<(usize, usize)> = vec![]; [INFO] [stdout] 628 | | let mut open: u32 = 0; [INFO] [stdout] ... | [INFO] [stdout] 678 | | Ok(buffer) [INFO] [stdout] 679 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bip.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | Ok(buffer) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bips-dev` (bin "bips-dev") due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "9d1dd6c42f1066a746345f2f404642a24b0626c565416c9c4153feba79451b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d1dd6c42f1066a746345f2f404642a24b0626c565416c9c4153feba79451b32", kill_on_drop: false }` [INFO] [stdout] 9d1dd6c42f1066a746345f2f404642a24b0626c565416c9c4153feba79451b32