[INFO] fetching crate sscanf 0.4.4... [INFO] checking sscanf-0.4.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate sscanf 0.4.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate sscanf 0.4.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sscanf 0.4.4 [INFO] tweaked toml for crates.io crate sscanf 0.4.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sscanf 0.4.4 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 sscanf 0.4.4 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] 27e41876ff7b00bbe707e5ce1361d3eb0c4721bd2c6e8814cbe3e36ffaa49ebc [INFO] running `Command { std: "docker" "start" "-a" "27e41876ff7b00bbe707e5ce1361d3eb0c4721bd2c6e8814cbe3e36ffaa49ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e41876ff7b00bbe707e5ce1361d3eb0c4721bd2c6e8814cbe3e36ffaa49ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e41876ff7b00bbe707e5ce1361d3eb0c4721bd2c6e8814cbe3e36ffaa49ebc", kill_on_drop: false }` [INFO] [stdout] 27e41876ff7b00bbe707e5ce1361d3eb0c4721bd2c6e8814cbe3e36ffaa49ebc [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] 46c6f4cea4672675ac122afb285ada63f7d6ded17b79b195b76cb5dfa8ba6977 [INFO] running `Command { std: "docker" "start" "-a" "46c6f4cea4672675ac122afb285ada63f7d6ded17b79b195b76cb5dfa8ba6977", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Checking const_format v0.2.31 [INFO] [stderr] Compiling sscanf_macro v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking sscanf v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking trybuild v1.0.113 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/should_panic.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | fn from_str(_: &str) -> Result { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 13 | | Ok(Test) [INFO] [stdout] 14 | | } [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] --> tests/should_panic.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(Test) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, invalid_regex_representation::Test> [INFO] [stdout] --> tests/should_panic.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | sscanf!("hi", "{Test}").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/should_panic.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | sscanf!("hi", "{Test}").unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sscanf` (test "should_panic") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/test.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let output = sscanf!(input, "Test {usize} {f32} {{}} {}!", std::string::String); [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] --> tests/test.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | let output = sscanf!(input, "Test {usize} {f32} {{}} {}!", std::string::String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test.rs:180:58 [INFO] [stdout] | [INFO] [stdout] 180 | fn from_str(_s: &str) -> Result { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 181 | | Ok(NoRegex) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(NoRegex) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, NoRegex> [INFO] [stdout] --> tests/test.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 184 | let parsed = sscanf!(input, "{NoRegex:/.*/}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/test.rs:184:35 [INFO] [stdout] | [INFO] [stdout] 184 | let parsed = sscanf!(input, "{NoRegex:/.*/}"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/test.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Debug, PartialEq, FromScanf)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/test.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/test.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | s = sscanf!(input, "{String}").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/test.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | s = sscanf!(input, "{String}").unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/test.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | sscanf!(input, "{String}").map_err(|err| err.to_string())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/test.rs:247:26 [INFO] [stdout] | [INFO] [stdout] 247 | sscanf!(input, "{String}").map_err(|err| err.to_string())?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/enum.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/enum.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/field.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/field.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | b: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/field.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/field.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 236 | name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/field.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/field.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/field.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/field.rs:278:15 [INFO] [stdout] | [INFO] [stdout] 278 | name: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/struct.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/struct.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | b: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/struct.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/struct.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | b: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/struct.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/struct.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | b: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow>, String> [INFO] [stdout] --> tests/derive/struct.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(FromScanf, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result> [INFO] [stdout] --> tests/derive/struct.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | struct TestStruct(u8, String, isize, f32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sscanf` (test "test") due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "46c6f4cea4672675ac122afb285ada63f7d6ded17b79b195b76cb5dfa8ba6977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c6f4cea4672675ac122afb285ada63f7d6ded17b79b195b76cb5dfa8ba6977", kill_on_drop: false }` [INFO] [stdout] 46c6f4cea4672675ac122afb285ada63f7d6ded17b79b195b76cb5dfa8ba6977