[INFO] cloning repository https://github.com/yct21/the-blockchain-tavern [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yct21/the-blockchain-tavern" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyct21%2Fthe-blockchain-tavern", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyct21%2Fthe-blockchain-tavern'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 273c8b76bfd707ee70efc504a06a4de4ef09fab6 [INFO] checking yct21/the-blockchain-tavern against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyct21%2Fthe-blockchain-tavern" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yct21/the-blockchain-tavern [INFO] finished tweaking git repo https://github.com/yct21/the-blockchain-tavern [INFO] tweaked toml for git repo https://github.com/yct21/the-blockchain-tavern written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yct21/the-blockchain-tavern on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yct21/the-blockchain-tavern already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.123 [INFO] [stderr] Downloaded indexmap v1.6.1 [INFO] [stderr] Downloaded serde_json v1.0.62 [INFO] [stderr] Downloaded serde v1.0.123 [INFO] [stderr] Downloaded syn v1.0.60 [INFO] [stderr] Downloaded libc v0.2.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9547a3f0c1d4789045982bf86a9c9c7755258118ca4107aa617bf631c6cde49 [INFO] running `Command { std: "docker" "start" "-a" "d9547a3f0c1d4789045982bf86a9c9c7755258118ca4107aa617bf631c6cde49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9547a3f0c1d4789045982bf86a9c9c7755258118ca4107aa617bf631c6cde49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9547a3f0c1d4789045982bf86a9c9c7755258118ca4107aa617bf631c6cde49", kill_on_drop: false }` [INFO] [stdout] d9547a3f0c1d4789045982bf86a9c9c7755258118ca4107aa617bf631c6cde49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df1617daecb0a0ef85b581df905284c2ead2510a653e9720a1b0e8122d92e3a [INFO] running `Command { std: "docker" "start" "-a" "7df1617daecb0a0ef85b581df905284c2ead2510a653e9720a1b0e8122d92e3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking tavern-database v0.0.0 (/opt/rustwide/workdir/database) [INFO] [stdout] warning: fields `genesis_time` and `chain_id` are never read [INFO] [stdout] --> database/src/genesis.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct Genesis { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub genesis_time: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub chain_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Genesis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tavern-tbt v0.0.0 (/opt/rustwide/workdir/cli/tbt) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> database/src/state.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | .add(Tx { [INFO] [stdout] | ______________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 223 | | from: "andrej".to_string(), [INFO] [stdout] 224 | | to: "babayaga".to_string(), [INFO] [stdout] 225 | | value: 1, [INFO] [stdout] 226 | | data: String::new(), [INFO] [stdout] 227 | | }) [INFO] [stdout] | |_____________^ expected `&Tx`, found `Tx` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> database/src/state.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn add(&mut self, tx: &Tx) -> Result<(), ApplyTxError> { [INFO] [stdout] | ^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 222 | .add(&Tx { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> database/src/state.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | let result = state.add(Tx { [INFO] [stdout] | ____________________________---_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 248 | | from: "andrej".to_string(), [INFO] [stdout] 249 | | to: "babayaga".to_string(), [INFO] [stdout] 250 | | value: 101, [INFO] [stdout] 251 | | data: String::new(), [INFO] [stdout] 252 | | }); [INFO] [stdout] | |_________^ expected `&Tx`, found `Tx` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> database/src/state.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn add(&mut self, tx: &Tx) -> Result<(), ApplyTxError> { [INFO] [stdout] | ^^^ ------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 247 | let result = state.add(&Tx { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tavern-database` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7df1617daecb0a0ef85b581df905284c2ead2510a653e9720a1b0e8122d92e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df1617daecb0a0ef85b581df905284c2ead2510a653e9720a1b0e8122d92e3a", kill_on_drop: false }` [INFO] [stdout] 7df1617daecb0a0ef85b581df905284c2ead2510a653e9720a1b0e8122d92e3a