[INFO] fetching crate deb 0.5.20... [INFO] checking deb-0.5.20 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate deb 0.5.20 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate deb 0.5.20 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate deb 0.5.20 [INFO] tweaked toml for crates.io crate deb 0.5.20 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deb 0.5.20 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 crates.io crate deb 0.5.20 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 21ad5f851568787cda664c0cdfe267214d300c8977ee199d29f0ff0c9f9efeec [INFO] running `Command { std: "docker" "start" "-a" "21ad5f851568787cda664c0cdfe267214d300c8977ee199d29f0ff0c9f9efeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21ad5f851568787cda664c0cdfe267214d300c8977ee199d29f0ff0c9f9efeec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ad5f851568787cda664c0cdfe267214d300c8977ee199d29f0ff0c9f9efeec", kill_on_drop: false }` [INFO] [stdout] 21ad5f851568787cda664c0cdfe267214d300c8977ee199d29f0ff0c9f9efeec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c0822a27fe446ea98b697dc2b12bd888af0d9a57395c81a30ff0df5b8e9a488b [INFO] running `Command { std: "docker" "start" "-a" "c0822a27fe446ea98b697dc2b12bd888af0d9a57395c81a30ff0df5b8e9a488b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking pest v2.8.2 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Checking deb v0.5.20 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/date_time.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | fn from_str(when: &str) -> Result { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 58 | | Ok(Self(when.to_owned())) [INFO] [stdout] 59 | | } [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/control/date_time.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Self(when.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | fn from_str(action: &str) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 70 | | let Ok::<[&str; 2], _>([command, argument]) = [INFO] [stdout] 71 | | action.splitn(2, ' ').collect::>().try_into() [INFO] [stdout] 72 | | else { [INFO] [stdout] ... | [INFO] [stdout] 81 | | }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | return Ok(Self::Unknown(action.to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / Ok(match command { [INFO] [stdout] 77 | | "cancel" => Self::Cancel(argument.to_owned()), [INFO] [stdout] 78 | | "rm" => Self::Rm(argument.to_owned()), [INFO] [stdout] 79 | | "reschedule" => Self::Reschedule(argument.to_owned()), [INFO] [stdout] 80 | | _ => Self::Unknown(action.to_owned()), [INFO] [stdout] 81 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `deb` (lib) due to 5 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/control/date_time.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | fn from_str(when: &str) -> Result { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 58 | | Ok(Self(when.to_owned())) [INFO] [stdout] 59 | | } [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/control/date_time.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Self(when.to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/control/macros.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let v: $type = $from.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/control/delimited.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / def_parse_test!( [INFO] [stdout] 130 | | space_parse_empty, [INFO] [stdout] 131 | | SpaceDelimitedStrings, [INFO] [stdout] 132 | | "", [INFO] [stdout] 133 | | Delimited::<' ', String>(vec![]) [INFO] [stdout] 134 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_parse_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/control/macros.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let v: $type = $from.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/control/delimited.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | / def_parse_test!( [INFO] [stdout] 137 | | comma_parse_empty, [INFO] [stdout] 138 | | CommaDelimitedStrings, [INFO] [stdout] 139 | | "", [INFO] [stdout] 140 | | Delimited::<',', String>(vec![]) [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_parse_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/control/macros.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let v: $type = $from.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/control/delimited.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / def_parse_test!( [INFO] [stdout] 144 | | space_parse_easy, [INFO] [stdout] 145 | | SpaceDelimitedStrings, [INFO] [stdout] 146 | | "foo bar", [INFO] [stdout] 147 | | Delimited::<' ', String>(vec!["foo".to_owned(), "bar".to_owned()]) [INFO] [stdout] 148 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_parse_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/control/macros.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let v: $type = $from.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/control/delimited.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | / def_parse_test!( [INFO] [stdout] 151 | | comma_parse_easy, [INFO] [stdout] 152 | | CommaDelimitedStrings, [INFO] [stdout] 153 | | "foo,bar", [INFO] [stdout] 154 | | Delimited::<',', String>(vec!["foo".to_owned(), "bar".to_owned()]) [INFO] [stdout] 155 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_parse_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/control/macros.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let v: $type = $from.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/control/delimited.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / def_parse_test!( [INFO] [stdout] 158 | | space_parse_extra, [INFO] [stdout] 159 | | SpaceDelimitedStrings, [INFO] [stdout] 160 | | "foo bar", [INFO] [stdout] 161 | | Delimited::<' ', String>(vec!["foo".to_owned(), "".to_owned(), "bar".to_owned()]) [INFO] [stdout] 162 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_parse_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/control/macros.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | let v: $type = $from.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/control/delimited.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / def_parse_test!( [INFO] [stdout] 165 | | comma_parse_extra, [INFO] [stdout] 166 | | CommaDelimitedStrings, [INFO] [stdout] 167 | | "foo,,bar", [INFO] [stdout] 168 | | Delimited::<',', String>(vec!["foo".to_owned(), "".to_owned(), "bar".to_owned()]) [INFO] [stdout] 169 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_parse_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | fn from_str(action: &str) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 70 | | let Ok::<[&str; 2], _>([command, argument]) = [INFO] [stdout] 71 | | action.splitn(2, ' ').collect::>().try_into() [INFO] [stdout] 72 | | else { [INFO] [stdout] ... | [INFO] [stdout] 81 | | }) [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | return Ok(Self::Unknown(action.to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | / Ok(match command { [INFO] [stdout] 77 | | "cancel" => Self::Cancel(argument.to_owned()), [INFO] [stdout] 78 | | "rm" => Self::Rm(argument.to_owned()), [INFO] [stdout] 79 | | "reschedule" => Self::Reschedule(argument.to_owned()), [INFO] [stdout] 80 | | _ => Self::Unknown(action.to_owned()), [INFO] [stdout] 81 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | let action: Action = "cancel foo.changes".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let action: Action = "reschedule foo.changes 1-day".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | let action: Action = "rm --searchdirs foo.changes".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/control/queued/action.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | let action: Action = "unknown something.changes".parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `deb` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "c0822a27fe446ea98b697dc2b12bd888af0d9a57395c81a30ff0df5b8e9a488b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0822a27fe446ea98b697dc2b12bd888af0d9a57395c81a30ff0df5b8e9a488b", kill_on_drop: false }` [INFO] [stdout] c0822a27fe446ea98b697dc2b12bd888af0d9a57395c81a30ff0df5b8e9a488b