[INFO] cloning repository https://github.com/OthelloEngineer/tissue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OthelloEngineer/tissue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOthelloEngineer%2Ftissue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOthelloEngineer%2Ftissue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a2e14cb5c0b82d1d6d16b4b86c145b325734d73 [INFO] testing OthelloEngineer/tissue against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOthelloEngineer%2Ftissue" "/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/OthelloEngineer/tissue [INFO] finished tweaking git repo https://github.com/OthelloEngineer/tissue [INFO] tweaked toml for git repo https://github.com/OthelloEngineer/tissue written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OthelloEngineer/tissue on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OthelloEngineer/tissue 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-error v0.2.0 [INFO] [stderr] Downloaded security-framework-sys v2.10.0 [INFO] [stderr] Downloaded serde v1.0.197 [INFO] [stderr] Downloaded fastrand v2.0.2 [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded console v0.15.8 [INFO] [stderr] Downloaded hyper-util v0.1.3 [INFO] [stderr] Downloaded rustls-pki-types v1.4.1 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded base64 v0.22.0 [INFO] [stderr] Downloaded security-framework v2.10.0 [INFO] [stderr] Downloaded hyper v1.2.0 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded reqwest v0.12.3 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] [stderr] Downloaded color-spantrace v0.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.197 [INFO] [stderr] Downloaded socket2 v0.5.6 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded proc-macro2 v1.0.79 [INFO] [stderr] Downloaded rustix v0.38.32 [INFO] [stderr] Downloaded color-eyre v0.6.3 [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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8897b89929248ac9d981326f8105351affb77b6e5d6f16ea0f2251b82962795 [INFO] running `Command { std: "docker" "start" "-a" "b8897b89929248ac9d981326f8105351affb77b6e5d6f16ea0f2251b82962795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8897b89929248ac9d981326f8105351affb77b6e5d6f16ea0f2251b82962795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8897b89929248ac9d981326f8105351affb77b6e5d6f16ea0f2251b82962795", kill_on_drop: false }` [INFO] [stdout] b8897b89929248ac9d981326f8105351affb77b6e5d6f16ea0f2251b82962795 [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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5d950bcf88844943326cf9790e07e6afb9255f0f5c4e0c299917010bbb00d9 [INFO] running `Command { std: "docker" "start" "-a" "de5d950bcf88844943326cf9790e07e6afb9255f0f5c4e0c299917010bbb00d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.3 [INFO] [stderr] Compiling tissue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/tissuebox_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Formatter` [INFO] [stdout] --> src/tissuebox_file.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt::Formatter, fs}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `add_tissues` has an incompatible type for trait [INFO] [stdout] --> src/tissuebox_file.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn add_tissues(self, tissues: Vec<&Tissue>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ expected `Tissue`, found `&Tissue` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/tissuebox_repository.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | fn add_tissues(self, tissues: Vec) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected signature `fn(TissueBoxFile, Vec) -> Result<_, _>` [INFO] [stdout] found signature `fn(TissueBoxFile, Vec<&Tissue>) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 58 - fn add_tissues(self, tissues: Vec<&Tissue>) -> Result<()> { [INFO] [stdout] 58 + fn add_tissues(self, tissues: Vec) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `remove_tissues` has an incompatible type for trait [INFO] [stdout] --> src/tissuebox_file.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | fn remove_tissues(self, tissues: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ expected `&Tissue`, found `Tissue` [INFO] [stdout] | [INFO] [stdout] note: type in trait [INFO] [stdout] --> src/tissuebox_repository.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn remove_tissues(self, tissues: Vec<&Tissue>) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: expected signature `fn(TissueBoxFile, Vec<&Tissue>) -> Result<_, _>` [INFO] [stdout] found signature `fn(TissueBoxFile, Vec) -> Result<_, _>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 78 | fn remove_tissues(self, tissues: Vec<&Tissue>) -> Result> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `get_tissues` has a `self` declaration in the trait, but not in the impl [INFO] [stdout] --> src/tissuebox_file.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_tissues() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `self` in impl [INFO] [stdout] | [INFO] [stdout] ::: src/tissuebox_repository.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_tissues(self) -> Result>; [INFO] [stdout] | -------------------------------------------- `self` used in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `add_board` has a `self` declaration in the trait, but not in the impl [INFO] [stdout] --> src/tissuebox_file.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | fn add_board(issue_board: &dyn IssueBoard) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `self` in impl [INFO] [stdout] | [INFO] [stdout] ::: src/tissuebox_repository.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | fn add_board(self, issue_board: &dyn IssueBoard) -> Result<()>; [INFO] [stdout] | --------------------------------------------------------------- `self` used in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0186]: method `remove_board` has a `self` declaration in the trait, but not in the impl [INFO] [stdout] --> src/tissuebox_file.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | fn remove_board(board_name: &str) -> Result<&dyn IssueBoard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `self` in impl [INFO] [stdout] | [INFO] [stdout] ::: src/tissuebox_repository.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | fn remove_board(self, board_name: &str) -> Result<&dyn IssueBoard>; [INFO] [stdout] | ------------------------------------------------------------------- `self` used in trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as IntoIterator>::Item == Tissue` [INFO] [stdout] --> src/tissuebox_file.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | tissue_box.tissues.extend(tissues); [INFO] [stdout] | ------ ^^^^^^^ expected `Tissue`, found `&Tissue` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `extend` [INFO] [stdout] --> /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/iter/traits/collect.rs:413:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `removed_tissues` found for struct `TissueBoxFile` in the current scope [INFO] [stdout] --> src/tissuebox_file.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TissueBoxFile { [INFO] [stdout] | ------------------------ method `removed_tissues` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 105 | self.removed_tissues(tissues.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `remove_tissues` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 - self.removed_tissues(tissues.clone())?; [INFO] [stdout] 105 + self.remove_tissues(tissues.clone())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/tissuebox_file.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | self.removed_tissues(tissues.clone())?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tissuebox_repository.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Tissue { [INFO] [stdout] | ----------------- doesn't satisfy `Tissue: Clone` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tissue: Clone` [INFO] [stdout] which is required by `Vec: Clone` [INFO] [stdout] help: consider annotating `Tissue` with `#[derive(Clone)]` [INFO] [stdout] --> src/tissuebox_repository.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 + #[derive(Clone)] [INFO] [stdout] 46 | pub struct Tissue { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tissuebox_file.rs:104:54 [INFO] [stdout] | [INFO] [stdout] 104 | fn update_tissues(self, tissues: Vec) -> Result<()> { [INFO] [stdout] | -------------- ^^^^^^^^^^ expected `Result<(), Report>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ErrReport>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issue_board` [INFO] [stdout] --> src/tissuebox_file.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | fn add_board(issue_board: &dyn IssueBoard) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_issue_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board_name` [INFO] [stdout] --> src/tissuebox_file.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | fn remove_board(board_name: &str) -> Result<&dyn IssueBoard> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_board_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0186, E0271, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tissue` (bin "tissue") due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "de5d950bcf88844943326cf9790e07e6afb9255f0f5c4e0c299917010bbb00d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5d950bcf88844943326cf9790e07e6afb9255f0f5c4e0c299917010bbb00d9", kill_on_drop: false }` [INFO] [stdout] de5d950bcf88844943326cf9790e07e6afb9255f0f5c4e0c299917010bbb00d9