[INFO] cloning repository https://github.com/lptstr/zn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lptstr/zn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flptstr%2Fzn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flptstr%2Fzn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1919e6e305bc019c0b0aa6714eef33db4d65fce [INFO] checking lptstr/zn against try#8b72f65b805cbe4c261de45030d663f524f27376 for pr-78991 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flptstr%2Fzn" "/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/lptstr/zn on toolchain 8b72f65b805cbe4c261de45030d663f524f27376 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lptstr/zn [INFO] finished tweaking git repo https://github.com/lptstr/zn [INFO] tweaked toml for git repo https://github.com/lptstr/zn written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/lptstr/zn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f3f1cba1cd22f95f96ed0cea0e03d033217044b0d560f1c112c6f4f1c6bd6f0 [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" "0f3f1cba1cd22f95f96ed0cea0e03d033217044b0d560f1c112c6f4f1c6bd6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f3f1cba1cd22f95f96ed0cea0e03d033217044b0d560f1c112c6f4f1c6bd6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3f1cba1cd22f95f96ed0cea0e03d033217044b0d560f1c112c6f4f1c6bd6f0", kill_on_drop: false }` [INFO] [stdout] 0f3f1cba1cd22f95f96ed0cea0e03d033217044b0d560f1c112c6f4f1c6bd6f0 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+8b72f65b805cbe4c261de45030d663f524f27376" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c32be6e1b748dd571ddfdba34e6fff2d19a2fe3177735128b41ccceab27a3991 [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" "c32be6e1b748dd571ddfdba34e6fff2d19a2fe3177735128b41ccceab27a3991", kill_on_drop: false }` [INFO] [stderr] Checking zn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:57:91 [INFO] [stdout] | [INFO] [stdout] 57 | BUFFER[dest.token.parse::().unwrap()] = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:57:91 [INFO] [stdout] | [INFO] [stdout] 57 | BUFFER[dest.token.parse::().unwrap()] = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:64:66 [INFO] [stdout] | [INFO] [stdout] 64 | "r" => REGSTR.R = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:64:66 [INFO] [stdout] | [INFO] [stdout] 64 | "r" => REGSTR.R = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:66:66 [INFO] [stdout] | [INFO] [stdout] 66 | "c" => REGSTR.C = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:66:66 [INFO] [stdout] | [INFO] [stdout] 66 | "c" => REGSTR.C = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | "i" => REGSTR.I = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | "i" => REGSTR.I = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:70:66 [INFO] [stdout] | [INFO] [stdout] 70 | "h" => REGSTR.H = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:70:66 [INFO] [stdout] | [INFO] [stdout] 70 | "h" => REGSTR.H = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:72:66 [INFO] [stdout] | [INFO] [stdout] 72 | "x" => REGSTR.X = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:72:66 [INFO] [stdout] | [INFO] [stdout] 72 | "x" => REGSTR.X = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:74:66 [INFO] [stdout] | [INFO] [stdout] 74 | "a" => REGSTR.A = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:74:66 [INFO] [stdout] | [INFO] [stdout] 74 | "a" => REGSTR.A = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | "d" => REGSTR.D = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | TokenType::Address => if !Address::is_valid(token, BUFFER) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&types::Token`, found struct `types::Token` [INFO] [stdout] | help: consider borrowing here: `&token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | TokenType::Register => if !Registers::is_valid(token) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&types::Token`, found struct `types::Token` [INFO] [stdout] | help: consider borrowing here: `&token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | "d" => REGSTR.D = getval(BUFFER, REGSTR, DSTACK, src, [INFO] [stdout] | ^^^ expected struct `types::Token`, found `&types::Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | TokenType::Address => if !Address::is_valid(token, BUFFER) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&types::Token`, found struct `types::Token` [INFO] [stdout] | help: consider borrowing here: `&token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/zn.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | TokenType::Register => if !Registers::is_valid(token) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&types::Token`, found struct `types::Token` [INFO] [stdout] | help: consider borrowing here: `&token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 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 `zn` [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" "c32be6e1b748dd571ddfdba34e6fff2d19a2fe3177735128b41ccceab27a3991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32be6e1b748dd571ddfdba34e6fff2d19a2fe3177735128b41ccceab27a3991", kill_on_drop: false }` [INFO] [stdout] c32be6e1b748dd571ddfdba34e6fff2d19a2fe3177735128b41ccceab27a3991