[INFO] cloning repository https://github.com/DerGorn/Cargine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DerGorn/Cargine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerGorn%2FCargine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerGorn%2FCargine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1efe6cdbbb6acf03f7c96f936ebb7e3327c919a1
[INFO] testing DerGorn/Cargine against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerGorn%2FCargine" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DerGorn/Cargine
[INFO] finished tweaking git repo https://github.com/DerGorn/Cargine
[INFO] tweaked toml for git repo https://github.com/DerGorn/Cargine written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DerGorn/Cargine on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DerGorn/Cargine 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.2.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e6bd7bdba112f6a79f7e31fe157b555b0200f4630857cfcabe26c59e0036e8c
[INFO] running `Command { std: "docker" "start" "-a" "0e6bd7bdba112f6a79f7e31fe157b555b0200f4630857cfcabe26c59e0036e8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e6bd7bdba112f6a79f7e31fe157b555b0200f4630857cfcabe26c59e0036e8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e6bd7bdba112f6a79f7e31fe157b555b0200f4630857cfcabe26c59e0036e8c", kill_on_drop: false }`
[INFO] [stdout] 0e6bd7bdba112f6a79f7e31fe157b555b0200f4630857cfcabe26c59e0036e8c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4013c8f47393202dce0f0d78586dbc71f32f6ee6f422dbb93f6f3dba17f0df5b
[INFO] running `Command { std: "docker" "start" "-a" "4013c8f47393202dce0f0d78586dbc71f32f6ee6f422dbb93f6f3dba17f0df5b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling cargine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::Hash;
[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 imports: `Rng` and `SeedableRng`
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{Rng, SeedableRng};
[INFO] [stdout]   |            ^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/event_machine.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn prioritize(&self, event: &E) -> P {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Card` is never used
[INFO] [stdout]  --> src/lib.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Card: Clone {}
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/event_machine.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait Event<T: Card> {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventState` is never used
[INFO] [stdout]  --> src/event_machine.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait EventState<C: Card, E: Event<C>>:
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Consumer` is never used
[INFO] [stdout]   --> src/event_machine.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Consumer<C: Card, E: Event<C>, S: EventState<C, E>, P: ConsumerPriority = DefaultPriority>
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ConsumerPriority` is never used
[INFO] [stdout]   --> src/event_machine.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait ConsumerPriority: Default + PartialEq + PartialOrd + Eq + Ord {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultPriority` is never constructed
[INFO] [stdout]   --> src/event_machine.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct DefaultPriority {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventMachine` is never constructed
[INFO] [stdout]   --> src/event_machine.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct EventMachine<
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_consumer`, `enqueue`, `prioritize_consumers`, `dequeue`, and `run` are never used
[INFO] [stdout]    --> src/event_machine.rs:45:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl<C: Card, E: Event<C>, S: EventState<C, E>, P: ConsumerPriority> EventMachine<C, E, S, P> {
[INFO] [stdout]     | --------------------------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout]  45 |     pub fn new(transition: impl Fn(&S, &Self) -> (Option<S>, Vec<E>) + 'static) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn add_consumer(&mut self, consumer: Box<dyn Consumer<C, E, S, P>>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn enqueue(&mut self, event: E) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     fn prioritize_consumers(&self, event: &E) -> Vec<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     fn dequeue(&mut self) -> Option<E> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.91s
[INFO] running `Command { std: "docker" "inspect" "4013c8f47393202dce0f0d78586dbc71f32f6ee6f422dbb93f6f3dba17f0df5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4013c8f47393202dce0f0d78586dbc71f32f6ee6f422dbb93f6f3dba17f0df5b", kill_on_drop: false }`
[INFO] [stdout] 4013c8f47393202dce0f0d78586dbc71f32f6ee6f422dbb93f6f3dba17f0df5b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 074f052d2c6dbbd26d007e405c0c559d60e331d94b06c9a819d3c3e27f394425
[INFO] running `Command { std: "docker" "start" "-a" "074f052d2c6dbbd26d007e405c0c559d60e331d94b06c9a819d3c3e27f394425", kill_on_drop: false }`
[INFO] [stderr]    Compiling cargine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::hash::Hash;
[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 imports: `Rng` and `SeedableRng`
[INFO] [stdout]  --> src/lib.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{Rng, SeedableRng};
[INFO] [stdout]   |            ^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/event_machine.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn prioritize(&self, event: &E) -> P {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Card` is never used
[INFO] [stdout]  --> src/lib.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Card: Clone {}
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Event` is never used
[INFO] [stdout]  --> src/event_machine.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait Event<T: Card> {}
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EventState` is never used
[INFO] [stdout]  --> src/event_machine.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait EventState<C: Card, E: Event<C>>:
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Consumer` is never used
[INFO] [stdout]   --> src/event_machine.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Consumer<C: Card, E: Event<C>, S: EventState<C, E>, P: ConsumerPriority = DefaultPriority>
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ConsumerPriority` is never used
[INFO] [stdout]   --> src/event_machine.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait ConsumerPriority: Default + PartialEq + PartialOrd + Eq + Ord {}
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DefaultPriority` is never constructed
[INFO] [stdout]   --> src/event_machine.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct DefaultPriority {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EventMachine` is never constructed
[INFO] [stdout]   --> src/event_machine.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct EventMachine<
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_consumer`, `enqueue`, `prioritize_consumers`, `dequeue`, and `run` are never used
[INFO] [stdout]    --> src/event_machine.rs:45:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl<C: Card, E: Event<C>, S: EventState<C, E>, P: ConsumerPriority> EventMachine<C, E, S, P> {
[INFO] [stdout]     | --------------------------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout]  45 |     pub fn new(transition: impl Fn(&S, &Self) -> (Option<S>, Vec<E>) + 'static) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn add_consumer(&mut self, consumer: Box<dyn Consumer<C, E, S, P>>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn enqueue(&mut self, event: E) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     fn prioritize_consumers(&self, event: &E) -> Vec<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     fn dequeue(&mut self) -> Option<E> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn run(&mut self) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout]   --> src/event_machine.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn prioritize(&self, event: &E) -> P {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `manager`
[INFO] [stdout]    --> src/lib.rs:405:74
[INFO] [stdout]     |
[INFO] [stdout] 405 |         let mut event_machine = event_machine::EventMachine::new(|state, manager| match state {
[INFO] [stdout]     |                                                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `suit` and `rank` are never read
[INFO] [stdout]   --> src/lib.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     struct PlayingCard {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 39 |         suit: Suit,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 40 |         rank: Rank,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PlayingCard` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `shuffle` is never used
[INFO] [stdout]   --> src/lib.rs:82:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     impl Deck<PlayingCard> {
[INFO] [stdout]    |     ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |         fn shuffle(&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "074f052d2c6dbbd26d007e405c0c559d60e331d94b06c9a819d3c3e27f394425", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "074f052d2c6dbbd26d007e405c0c559d60e331d94b06c9a819d3c3e27f394425", kill_on_drop: false }`
[INFO] [stdout] 074f052d2c6dbbd26d007e405c0c559d60e331d94b06c9a819d3c3e27f394425
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b296d309fa1ab287fbde7d9f0e13bf1b5e8cfa72561a2daaa305c1d311216681
[INFO] running `Command { std: "docker" "start" "-a" "b296d309fa1ab287fbde7d9f0e13bf1b5e8cfa72561a2daaa305c1d311216681", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::hash::Hash`
[INFO] [stderr]  --> src/lib.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::hash::Hash;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused imports: `Rng` and `SeedableRng`
[INFO] [stdout] running 1 test
[INFO] [stderr]  --> src/lib.rs:3:12
[INFO] [stdout] test tests::black_jack ... FAILED
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr] 3 | use rand::{Rng, SeedableRng};
[INFO] [stdout] failures:
[INFO] [stderr]   |            ^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] ---- tests::black_jack stdout ----
[INFO] [stderr] warning: unused variable: `event`
[INFO] [stdout] Blind: [PlayingCard { suit: Spades, rank: Four }]
[INFO] [stderr]   --> src/event_machine.rs:13:26
[INFO] [stdout] Blind: [PlayingCard { suit: Spades, rank: Four }, PlayingCard { suit: Diamonds, rank: Five }]
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 13 |     fn prioritize(&self, event: &E) -> P {
[INFO] [stdout] thread 'tests::black_jack' (25) panicked at src/lib.rs:420:9:
[INFO] [stderr]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout] End of test
[INFO] [stderr]    |
[INFO] [stdout] stack backtrace:
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    0:     0x5db1586cde72 - std::backtrace_rs::backtrace::libunwind::trace::hff358a60abf734fc
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr] warning: trait `Card` is never used
[INFO] [stdout]    1:     0x5db1586cde72 - std::backtrace_rs::backtrace::trace_unsynchronized::h3b121f916dd95ec6
[INFO] [stderr]  --> src/lib.rs:6:7
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]   |
[INFO] [stdout]    2:     0x5db1586cde72 - std::sys::backtrace::_print_fmt::hde0a62ded68798e9
[INFO] [stderr] 6 | trait Card: Clone {}
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]   |       ^^^^
[INFO] [stdout]    3:     0x5db1586cde72 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h93773fc827e3113d
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    4:     0x5db1586de6ca - core::fmt::rt::Argument::fmt::h01eff69902dad97f
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr] warning: trait `Event` is never used
[INFO] [stdout]    5:     0x5db1586de6ca - core::fmt::write::hed7b5c73d82ecb7c
[INFO] [stderr]  --> src/event_machine.rs:5:11
[INFO] [stdout]    6:     0x5db15869cbb6 - std::io::default_write_fmt::h2f696ff5b8bbaa4b
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:639:11
[INFO] [stderr] 5 | pub trait Event<T: Card> {}
[INFO] [stdout]    7:     0x5db15869cbb6 - std::io::Write::write_fmt::h5e66814db8a9cfce
[INFO] [stderr]   |           ^^^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/io/mod.rs:1994:13
[INFO] [stderr] 
[INFO] [stdout]    8:     0x5db1586ad359 - std::sys::backtrace::BacktraceLock::print::h8b1d6fcc5a56d1a3
[INFO] [stderr] warning: trait `EventState` is never used
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]  --> src/event_machine.rs:6:11
[INFO] [stdout]    9:     0x5db1586ad359 - std::panicking::default_hook::{{closure}}::h2be84df4f189ae36
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:292:27
[INFO] [stderr] 6 | pub trait EventState<C: Card, E: Event<C>>:
[INFO] [stdout]   10:     0x5db1586ad1f1 - std::panicking::default_hook::hf0ea8939246f43a9
[INFO] [stderr]   |           ^^^^^^^^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:316:9
[INFO] [stderr] 
[INFO] [stdout]   11:     0x5db15864076e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h02d35e3888986252
[INFO] [stderr] warning: trait `Consumer` is never used
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stderr]   --> src/event_machine.rs:11:11
[INFO] [stdout]   12:     0x5db15864076e - test::test_main_with_exit_callback::{{closure}}::h939640a27d647173
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:145:21
[INFO] [stderr] 11 | pub trait Consumer<C: Card, E: Event<C>, S: EventState<C, E>, P: ConsumerPriority = DefaultPriority>
[INFO] [stdout]   13:     0x5db1586ad5d2 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hc9df09ff391af3e7
[INFO] [stderr]    |           ^^^^^^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2220:9
[INFO] [stderr] 
[INFO] [stdout]   14:     0x5db1586ad5d2 - std::panicking::panic_with_hook::hb4bd9ac1123582a0
[INFO] [stderr] warning: trait `ConsumerPriority` is never used
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:833:13
[INFO] [stderr]   --> src/event_machine.rs:19:11
[INFO] [stdout]   15:     0x5db1586ad44a - std::panicking::panic_handler::{{closure}}::hde00dd15f5637fe2
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:691:13
[INFO] [stderr] 19 | pub trait ConsumerPriority: Default + PartialEq + PartialOrd + Eq + Ord {}
[INFO] [stdout]   16:     0x5db1586a89a9 - std::sys::backtrace::__rust_end_short_backtrace::hb72197fa777c1785
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr] 
[INFO] [stdout]   17:     0x5db1586919ed - __rustc[4425a7e20b4c8619]::rust_begin_unwind
[INFO] [stderr] warning: struct `DefaultPriority` is never constructed
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:689:5
[INFO] [stderr]   --> src/event_machine.rs:22:12
[INFO] [stdout]   18:     0x5db1586e5b2c - core::panicking::panic_fmt::ha59b517dd231f4da
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panicking.rs:80:14
[INFO] [stderr] 22 | pub struct DefaultPriority {}
[INFO] [stdout]   19:     0x5db158616be9 - cargine::tests::black_jack::h299c126dd2b2f5f1
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:420:9
[INFO] [stderr] 
[INFO] [stdout]   20:     0x5db158616c37 - cargine::tests::black_jack::{{closure}}::h12342cf89feee507
[INFO] [stderr] warning: struct `EventMachine` is never constructed
[INFO] [stdout]                                at /opt/rustwide/workdir/src/lib.rs:402:20
[INFO] [stderr]   --> src/event_machine.rs:30:12
[INFO] [stdout]   21:     0x5db15861efe6 - core::ops::function::FnOnce::call_once::hc9b707bb909fb3d1
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stderr] 30 | pub struct EventMachine<
[INFO] [stdout]   22:     0x5db15864052b - core::ops::function::FnOnce::call_once::hddb3cd395c36bfbb
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stderr] 
[INFO] [stdout]   23:     0x5db15864052b - test::__rust_begin_short_backtrace::h0b6a7601d9750bfa
[INFO] [stderr] warning: associated items `new`, `add_consumer`, `enqueue`, `prioritize_consumers`, `dequeue`, and `run` are never used
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:663:18
[INFO] [stderr]    --> src/event_machine.rs:45:12
[INFO] [stdout]   24:     0x5db158653f3a - test::run_test_in_process::{{closure}}::h444209903f00b347
[INFO] [stderr]     |
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:74
[INFO] [stderr]  44 | impl<C: Card, E: Event<C>, S: EventState<C, E>, P: ConsumerPriority> EventMachine<C, E, S, P> {
[INFO] [stdout]   25:     0x5db158653f3a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hfb3ba8f46e537649
[INFO] [stderr]     | --------------------------------------------------------------------------------------------- associated items in this implementation
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stderr]  45 |     pub fn new(transition: impl Fn(&S, &Self) -> (Option<S>, Vec<E>) + 'static) -> Self {
[INFO] [stdout]   26:     0x5db158653f3a - std::panicking::catch_unwind::do_call::h1672a45911fcf9dc
[INFO] [stderr]     |            ^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stderr] ...
[INFO] [stdout]   27:     0x5db158653f3a - std::panicking::catch_unwind::h0fadaee22787a6dd
[INFO] [stderr]  57 |     pub fn add_consumer(&mut self, consumer: Box<dyn Consumer<C, E, S, P>>) {
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stdout]   28:     0x5db158653f3a - std::panic::catch_unwind::hc47ad190f2c8e188
[INFO] [stderr] ...
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stderr]  71 |     fn enqueue(&mut self, event: E) {
[INFO] [stdout]   29:     0x5db158653f3a - test::run_test_in_process::hcd7faaf934f29999
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:686:27
[INFO] [stderr] ...
[INFO] [stdout]   30:     0x5db158653f3a - test::run_test::{{closure}}::hddc4550da4871867
[INFO] [stderr]  81 |     fn prioritize_consumers(&self, event: &E) -> Vec<usize> {
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:607:43
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   31:     0x5db15862e394 - test::run_test::{{closure}}::h98ae26689f13ed94
[INFO] [stderr] ...
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/test/src/lib.rs:637:41
[INFO] [stderr]  94 |     fn dequeue(&mut self) -> Option<E> {
[INFO] [stdout]   32:     0x5db15862e394 - std::sys::backtrace::__rust_begin_short_backtrace::h3ec4d1f21ad44588
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr] ...
[INFO] [stdout]   33:     0x5db158631d32 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::hd8bf2c73d479939f
[INFO] [stderr] 101 |     pub fn run(&mut self) {
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stderr]     |            ^^^
[INFO] [stdout]   34:     0x5db158631d32 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3b4248f358af2491
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stderr] warning: unused variable: `manager`
[INFO] [stdout]   35:     0x5db158631d32 - std::panicking::catch_unwind::do_call::hda10a64f4b8daebe
[INFO] [stderr]    --> src/lib.rs:405:74
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:581:40
[INFO] [stderr]     |
[INFO] [stdout]   36:     0x5db158631d32 - std::panicking::catch_unwind::h659e5ee8336ec8c7
[INFO] [stderr] 405 |         let mut event_machine = event_machine::EventMachine::new(|state, manager| match state {
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panicking.rs:544:19
[INFO] [stderr]     |                                                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager`
[INFO] [stdout]   37:     0x5db158631d32 - std::panic::catch_unwind::h9d4d66a538912c18
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/panic.rs:359:14
[INFO] [stderr] warning: fields `suit` and `rank` are never read
[INFO] [stdout]   38:     0x5db158631d32 - std::thread::lifecycle::spawn_unchecked::{{closure}}::h7557906bb51d79f1
[INFO] [stderr]   --> src/lib.rs:39:9
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stderr]    |
[INFO] [stdout]   39:     0x5db158631d32 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9e460d1d7fc83d35
[INFO] [stderr] 38 |     struct PlayingCard {
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/core/src/ops/function.rs:250:5
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stdout]   40:     0x5db1586a3c3f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h61282da819d64ea9
[INFO] [stderr] 39 |         suit: Suit,
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/alloc/src/boxed.rs:2206:9
[INFO] [stderr]    |         ^^^^
[INFO] [stdout]   41:     0x5db1586a3c3f - std::sys::thread::unix::Thread::new::thread_start::h982f9ea829d1b5fb
[INFO] [stderr] 40 |         rank: Rank,
[INFO] [stdout]                                at /rustc/4a4ef493e3a1488c6e321570238084b38948f6db/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stderr]    |         ^^^^
[INFO] [stdout]   42:     0x7f1c916bdaa4 - <unknown>
[INFO] [stderr]    |
[INFO] [stdout]   43:     0x7f1c9174aa64 - clone
[INFO] [stderr]    = note: `PlayingCard` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: method `shuffle` is never used
[INFO] [stdout] failures:
[INFO] [stderr]   --> src/lib.rs:82:12
[INFO] [stdout]     tests::black_jack
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 77 |     impl Deck<PlayingCard> {
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stderr]    |     ---------------------- method in this implementation
[INFO] [stdout] 
[INFO] [stderr] ...
[INFO] [stderr] 82 |         fn shuffle(&mut self) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `cargine` (lib) generated 11 warnings (run `cargo fix --lib -p cargine` to apply 3 suggestions)
[INFO] [stderr] warning: `cargine` (lib test) generated 4 warnings (1 duplicate) (run `cargo fix --lib -p cargine --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargine-e895a62d02215ebb)
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "b296d309fa1ab287fbde7d9f0e13bf1b5e8cfa72561a2daaa305c1d311216681", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b296d309fa1ab287fbde7d9f0e13bf1b5e8cfa72561a2daaa305c1d311216681", kill_on_drop: false }`
[INFO] [stdout] b296d309fa1ab287fbde7d9f0e13bf1b5e8cfa72561a2daaa305c1d311216681
