[INFO] cloning repository https://github.com/manfromth3m0oN/generic_counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/manfromth3m0oN/generic_counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanfromth3m0oN%2Fgeneric_counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanfromth3m0oN%2Fgeneric_counter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7f82fef223b6b6c181f96dc4b7f1f01620df5aa [INFO] testing manfromth3m0oN/generic_counter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmanfromth3m0oN%2Fgeneric_counter" "/workspace/builds/worker-85/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-85/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/manfromth3m0oN/generic_counter on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/manfromth3m0oN/generic_counter [INFO] finished tweaking git repo https://github.com/manfromth3m0oN/generic_counter [INFO] tweaked toml for git repo https://github.com/manfromth3m0oN/generic_counter written to /workspace/builds/worker-85/source/Cargo.toml [INFO] crate git repo https://github.com/manfromth3m0oN/generic_counter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59dee6221670501626ac24c9dcf3d1669c9df3a6093935bcb1558e9e58e7cd75 [INFO] running `Command { std: "docker" "start" "-a" "59dee6221670501626ac24c9dcf3d1669c9df3a6093935bcb1558e9e58e7cd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59dee6221670501626ac24c9dcf3d1669c9df3a6093935bcb1558e9e58e7cd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59dee6221670501626ac24c9dcf3d1669c9df3a6093935bcb1558e9e58e7cd75", kill_on_drop: false }` [INFO] [stdout] 59dee6221670501626ac24c9dcf3d1669c9df3a6093935bcb1558e9e58e7cd75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62ce09e2f1fef52e1e4ed2a4ac6046e2b5252c51dd241f25fbdb16cd038f2937 [INFO] running `Command { std: "docker" "start" "-a" "62ce09e2f1fef52e1e4ed2a4ac6046e2b5252c51dd241f25fbdb16cd038f2937", kill_on_drop: false }` [INFO] [stderr] Compiling counter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Tupaware`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | first_cart.add_tupaware(purple_tupware.clone()); [INFO] [stdout] | ^^^^^ method cannot be called on `Tupaware` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tupaware.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tupaware { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `clone` not found for this [INFO] [stdout] | doesn't satisfy `Tupaware: Clone` [INFO] [stdout] | [INFO] [stdout] ::: src/counter.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Countable { [INFO] [stdout] | ------------------- doesn't satisfy `dyn Countable: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `dyn Countable: Clone` was not satisfied [INFO] [stdout] --> src/tupaware.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Countable: Clone` [INFO] [stdout] which is required by `Tupaware: Clone` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Tupaware`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | first_cart.add_tupaware(green_tupaware.clone()); [INFO] [stdout] | ^^^^^ method cannot be called on `Tupaware` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tupaware.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tupaware { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `clone` not found for this [INFO] [stdout] | doesn't satisfy `Tupaware: Clone` [INFO] [stdout] | [INFO] [stdout] ::: src/counter.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Countable { [INFO] [stdout] | ------------------- doesn't satisfy `dyn Countable: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `dyn Countable: Clone` was not satisfied [INFO] [stdout] --> src/tupaware.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Countable: Clone` [INFO] [stdout] which is required by `Tupaware: Clone` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Tupaware`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | first_cart.add_tupaware(blue_tupaware.clone()); [INFO] [stdout] | ^^^^^ method cannot be called on `Tupaware` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tupaware.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tupaware { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `clone` not found for this [INFO] [stdout] | doesn't satisfy `Tupaware: Clone` [INFO] [stdout] | [INFO] [stdout] ::: src/counter.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Countable { [INFO] [stdout] | ------------------- doesn't satisfy `dyn Countable: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `dyn Countable: Clone` was not satisfied [INFO] [stdout] --> src/tupaware.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Countable: Clone` [INFO] [stdout] which is required by `Tupaware: Clone` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for struct `Tupaware`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | first_cart.add_tupaware(pink_tupaware.clone()); [INFO] [stdout] | ^^^^^ method cannot be called on `Tupaware` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/tupaware.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Tupaware { [INFO] [stdout] | ------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `clone` not found for this [INFO] [stdout] | doesn't satisfy `Tupaware: Clone` [INFO] [stdout] | [INFO] [stdout] ::: src/counter.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Countable { [INFO] [stdout] | ------------------- doesn't satisfy `dyn Countable: Clone` [INFO] [stdout] | [INFO] [stdout] note: trait bound `dyn Countable: Clone` was not satisfied [INFO] [stdout] --> src/tupaware.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn Countable: Clone` [INFO] [stdout] which is required by `Tupaware: Clone` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | fn gen_filled_apple_tupaware(colour: &str) -> Tupaware { [INFO] [stdout] | ----------------------- expected `Tupaware<(dyn Countable + 'static)>` because of return type [INFO] [stdout] ... [INFO] [stdout] 48 | tupaware [INFO] [stdout] | ^^^^^^^^ expected trait object `dyn Countable`, found struct `Apple` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Tupaware<(dyn Countable + 'static)>` [INFO] [stdout] found struct `Tupaware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn gen_filled_pear_tupware(colour: &str) -> Tupaware { [INFO] [stdout] | ----------------------- expected `Tupaware<(dyn Countable + 'static)>` because of return type [INFO] [stdout] ... [INFO] [stdout] 57 | tupaware [INFO] [stdout] | ^^^^^^^^ expected trait object `dyn Countable`, found struct `Pear` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Tupaware<(dyn Countable + 'static)>` [INFO] [stdout] found struct `Tupaware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `counter` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "62ce09e2f1fef52e1e4ed2a4ac6046e2b5252c51dd241f25fbdb16cd038f2937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ce09e2f1fef52e1e4ed2a4ac6046e2b5252c51dd241f25fbdb16cd038f2937", kill_on_drop: false }` [INFO] [stdout] 62ce09e2f1fef52e1e4ed2a4ac6046e2b5252c51dd241f25fbdb16cd038f2937