[INFO] cloning repository https://github.com/software-opal/kaitai-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/software-opal/kaitai-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftware-opal%2Fkaitai-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftware-opal%2Fkaitai-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21b73768b528d8bd991fd1ffe7195feb207917ac [INFO] checking software-opal/kaitai-rs against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftware-opal%2Fkaitai-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/software-opal/kaitai-rs on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/software-opal/kaitai-rs [INFO] finished tweaking git repo https://github.com/software-opal/kaitai-rs [INFO] tweaked toml for git repo https://github.com/software-opal/kaitai-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/software-opal/kaitai-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", 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] cc98437bb77a61fbf41f282c01d19abedce40d598409a7f484eba77e976a75c6 [INFO] running `Command { std: "docker" "start" "-a" "cc98437bb77a61fbf41f282c01d19abedce40d598409a7f484eba77e976a75c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc98437bb77a61fbf41f282c01d19abedce40d598409a7f484eba77e976a75c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc98437bb77a61fbf41f282c01d19abedce40d598409a7f484eba77e976a75c6", kill_on_drop: false }` [INFO] [stdout] cc98437bb77a61fbf41f282c01d19abedce40d598409a7f484eba77e976a75c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38bc236f75ff4dfb290e55a8925765c3b8bb06da7a339c7d254a634ba48033b9 [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" "38bc236f75ff4dfb290e55a8925765c3b8bb06da7a339c7d254a634ba48033b9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling eyre v0.4.2 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking indenter v0.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking heck v0.3.1 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Checking kaitai-expr-lang v0.1.0 (/opt/rustwide/workdir/kaitai-expr-lang) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> kaitai-expr-lang/src/expr/expr.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn enum_by_name_expr(input: Span) -> IResult { [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(&str, ast::Expression), nom::Err<(&str, nom::error::ErrorKind)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> kaitai-expr-lang/src/expr/expr.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn enum_by_name_expr(input: Span) -> IResult { [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(&str, ast::Expression), nom::Err<(&str, nom::error::ErrorKind)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> kaitai-expr-lang/src/expr/expr.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn byte_size_of_type_expr(input: Span) -> IResult {} [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(&str, ast::Expression), nom::Err<(&str, nom::error::ErrorKind)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> kaitai-expr-lang/src/expr/expr.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn byte_size_of_type_expr(input: Span) -> IResult {} [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(&str, ast::Expression), nom::Err<(&str, nom::error::ErrorKind)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> kaitai-expr-lang/src/expr/expr.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn bit_size_of_type_expr(input: Span) -> IResult {} [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(&str, ast::Expression), nom::Err<(&str, nom::error::ErrorKind)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> kaitai-expr-lang/src/expr/expr.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn bit_size_of_type_expr(input: Span) -> IResult {} [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(&str, ast::Expression), nom::Err<(&str, nom::error::ErrorKind)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kaitai-expr-lang` [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "38bc236f75ff4dfb290e55a8925765c3b8bb06da7a339c7d254a634ba48033b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38bc236f75ff4dfb290e55a8925765c3b8bb06da7a339c7d254a634ba48033b9", kill_on_drop: false }` [INFO] [stdout] 38bc236f75ff4dfb290e55a8925765c3b8bb06da7a339c7d254a634ba48033b9