[INFO] fetching crate matter-cli 0.1.0-alpha1... [INFO] checking matter-cli-0.1.0-alpha1 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] extracting crate matter-cli 0.1.0-alpha1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate matter-cli 0.1.0-alpha1 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate matter-cli 0.1.0-alpha1 [INFO] finished tweaking crates.io crate matter-cli 0.1.0-alpha1 [INFO] tweaked toml for crates.io crate matter-cli 0.1.0-alpha1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38a7a6dedabb04f9be9d9a19b3ee3384e19d91c46d2586f07a76e80688280318 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "38a7a6dedabb04f9be9d9a19b3ee3384e19d91c46d2586f07a76e80688280318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38a7a6dedabb04f9be9d9a19b3ee3384e19d91c46d2586f07a76e80688280318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a7a6dedabb04f9be9d9a19b3ee3384e19d91c46d2586f07a76e80688280318", kill_on_drop: false }` [INFO] [stdout] 38a7a6dedabb04f9be9d9a19b3ee3384e19d91c46d2586f07a76e80688280318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7e794eeb56906588ec2a6b77c41813275cd0c78ead927243850513bbb9228364 [INFO] running `Command { std: "docker" "start" "-a" "7e794eeb56906588ec2a6b77c41813275cd0c78ead927243850513bbb9228364", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking matter v0.1.0-alpha3 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking matter-cli v0.1.0-alpha1 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `matter-cli` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | match matter::extract(&contents) { [INFO] [stdout] | -------------------------- this expression has type `Result, matter::Error>` [INFO] [stdout] 32 | Some((matter, content)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, matter::Error>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | match matter::extract(&contents) { [INFO] [stdout] | -------------------------- this expression has type `Result, matter::Error>` [INFO] [stdout] 32 | Some((matter, content)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, matter::Error>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e794eeb56906588ec2a6b77c41813275cd0c78ead927243850513bbb9228364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e794eeb56906588ec2a6b77c41813275cd0c78ead927243850513bbb9228364", kill_on_drop: false }` [INFO] [stdout] 7e794eeb56906588ec2a6b77c41813275cd0c78ead927243850513bbb9228364