[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#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftware-opal%2Fkaitai-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/software-opal/kaitai-rs on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-9/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f14ebd8ed42721eee7a0371b77da2cef9061334cdddcfad48c8b0078cb4b0f7 [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" "2f14ebd8ed42721eee7a0371b77da2cef9061334cdddcfad48c8b0078cb4b0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f14ebd8ed42721eee7a0371b77da2cef9061334cdddcfad48c8b0078cb4b0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f14ebd8ed42721eee7a0371b77da2cef9061334cdddcfad48c8b0078cb4b0f7", kill_on_drop: false }` [INFO] [stdout] 2f14ebd8ed42721eee7a0371b77da2cef9061334cdddcfad48c8b0078cb4b0f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4e27c83532ce570e722de6359d28b67ae743a4c3237f8fb07fd1dd0d92f1a30 [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" "d4e27c83532ce570e722de6359d28b67ae743a4c3237f8fb07fd1dd0d92f1a30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling eyre v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking indenter v0.3.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking proc-macro2 v1.0.12 [INFO] [stderr] Checking memchr v2.3.3 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking 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: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: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: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] [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] [stderr] [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" "d4e27c83532ce570e722de6359d28b67ae743a4c3237f8fb07fd1dd0d92f1a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4e27c83532ce570e722de6359d28b67ae743a4c3237f8fb07fd1dd0d92f1a30", kill_on_drop: false }` [INFO] [stdout] d4e27c83532ce570e722de6359d28b67ae743a4c3237f8fb07fd1dd0d92f1a30