[INFO] fetching crate dmxparser 0.1.0... [INFO] checking dmxparser-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate dmxparser 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate dmxparser 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dmxparser 0.1.0 [INFO] tweaked toml for crates.io crate dmxparser 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dmxparser 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 008c925c5ad1d27723a8769fd133692987ba6a00b768f1529c101331b1a8c1bd [INFO] running `Command { std: "docker" "start" "-a" "008c925c5ad1d27723a8769fd133692987ba6a00b768f1529c101331b1a8c1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "008c925c5ad1d27723a8769fd133692987ba6a00b768f1529c101331b1a8c1bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008c925c5ad1d27723a8769fd133692987ba6a00b768f1529c101331b1a8c1bd", kill_on_drop: false }` [INFO] [stdout] 008c925c5ad1d27723a8769fd133692987ba6a00b768f1529c101331b1a8c1bd [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfb1d519857c0f107633e06d60b4bd8e4dafb933c3ca304c8d30b76b221057ed [INFO] running `Command { std: "docker" "start" "-a" "dfb1d519857c0f107633e06d60b4bd8e4dafb933c3ca304c8d30b76b221057ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking dmxparser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0560]: struct `TestDesc` has no field named `allow_fail` [INFO] [stdout] --> tests/reader.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | allow_fail: false, [INFO] [stdout] | ^^^^^^^^^^ `TestDesc` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ignore_message`, `source_file`, `start_line`, `start_col`, `end_line` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> tests/reader.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | / if let Err(err) = from_slice(&data) { [INFO] [stdout] 54 | | panic!("{}", err); [INFO] [stdout] 55 | | } [INFO] [stdout] | |_________________^ expected `Result<(), String>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::string::String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestDesc` has no field named `allow_fail` [INFO] [stdout] --> tests/reader.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | allow_fail: false, [INFO] [stdout] | ^^^^^^^^^^ `TestDesc` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ignore_message`, `source_file`, `start_line`, `start_col`, `end_line` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> tests/reader.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | / if let Err(err) = from_reader(reader) { [INFO] [stdout] 72 | | panic!("{}", err); [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________________^ expected `Result<(), String>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::string::String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestDesc` has no field named `allow_fail` [INFO] [stdout] --> tests/reader.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | allow_fail: false, [INFO] [stdout] | ^^^^^^^^^^ `TestDesc` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ignore_message`, `source_file`, `start_line`, `start_col`, `end_line` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> tests/reader.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | / if let Err(err) = from_file::<_, _, Value>(&file) { [INFO] [stdout] 93 | | panic!("{}", err); [INFO] [stdout] 94 | | } [INFO] [stdout] | |_________________^ expected `Result<(), String>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::string::String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestDesc` has no field named `allow_fail` [INFO] [stdout] --> tests/reader.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | allow_fail: false, [INFO] [stdout] | ^^^^^^^^^^ `TestDesc` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ignore_message`, `source_file`, `start_line`, `start_col`, `end_line` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> tests/reader.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | / if let Err(err) = from_file::, String, Value>(&file) { [INFO] [stdout] 115 | | panic!("{}", err); [INFO] [stdout] 116 | | } [INFO] [stdout] | |_________________^ expected `Result<(), String>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::string::String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestDesc` has no field named `allow_fail` [INFO] [stdout] --> tests/reader.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | allow_fail: false, [INFO] [stdout] | ^^^^^^^^^^ `TestDesc` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ignore_message`, `source_file`, `start_line`, `start_col`, `end_line` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> tests/reader.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | / if let Err(err) = read_vmap(&file) { [INFO] [stdout] 136 | | panic!("{}", err); [INFO] [stdout] 137 | | } [INFO] [stdout] | |_________________^ expected `Result<(), String>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::string::String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `TestDesc` has no field named `allow_fail` [INFO] [stdout] --> tests/reader.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | allow_fail: false, [INFO] [stdout] | ^^^^^^^^^^ `TestDesc` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ignore_message`, `source_file`, `start_line`, `start_col`, `end_line` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> tests/reader.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | / if let Err(err) = read_vmap(&file) { [INFO] [stdout] 158 | | panic!("{}", err); [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________________^ expected `Result<(), String>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::string::String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0317, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0317`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dmxparser` (test "reader") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "dfb1d519857c0f107633e06d60b4bd8e4dafb933c3ca304c8d30b76b221057ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfb1d519857c0f107633e06d60b4bd8e4dafb933c3ca304c8d30b76b221057ed", kill_on_drop: false }` [INFO] [stdout] dfb1d519857c0f107633e06d60b4bd8e4dafb933c3ca304c8d30b76b221057ed