[INFO] fetching crate rust_cards 0.1.2...
[INFO] testing rust_cards-0.1.2 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate rust_cards 0.1.2 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate rust_cards 0.1.2 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rust_cards 0.1.2
[INFO] finished tweaking crates.io crate rust_cards 0.1.2
[INFO] tweaked toml for crates.io crate rust_cards 0.1.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 15 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e964e1ae387b2c898c66aea658259bda21def660c33391ef3597f13a819d3655
[INFO] running `Command { std: "docker" "start" "-a" "e964e1ae387b2c898c66aea658259bda21def660c33391ef3597f13a819d3655", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e964e1ae387b2c898c66aea658259bda21def660c33391ef3597f13a819d3655", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e964e1ae387b2c898c66aea658259bda21def660c33391ef3597f13a819d3655", kill_on_drop: false }`
[INFO] [stdout] e964e1ae387b2c898c66aea658259bda21def660c33391ef3597f13a819d3655
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b821596add6ac808fccbcf66c4f294c517bee8e538e34dfd15e11dc18c123906
[INFO] running `Command { std: "docker" "start" "-a" "b821596add6ac808fccbcf66c4f294c517bee8e538e34dfd15e11dc18c123906", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rust_cards v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.79s
[INFO] running `Command { std: "docker" "inspect" "b821596add6ac808fccbcf66c4f294c517bee8e538e34dfd15e11dc18c123906", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b821596add6ac808fccbcf66c4f294c517bee8e538e34dfd15e11dc18c123906", kill_on_drop: false }`
[INFO] [stdout] b821596add6ac808fccbcf66c4f294c517bee8e538e34dfd15e11dc18c123906
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6d0e0efb64b44144d1f1a4fc5855ebbec82e7ce5e10447681fabca6817c17d33
[INFO] running `Command { std: "docker" "start" "-a" "6d0e0efb64b44144d1f1a4fc5855ebbec82e7ce5e10447681fabca6817c17d33", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_cards v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "6d0e0efb64b44144d1f1a4fc5855ebbec82e7ce5e10447681fabca6817c17d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d0e0efb64b44144d1f1a4fc5855ebbec82e7ce5e10447681fabca6817c17d33", kill_on_drop: false }`
[INFO] [stdout] 6d0e0efb64b44144d1f1a4fc5855ebbec82e7ce5e10447681fabca6817c17d33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fc202915e25fe941c6fbfc9091e446b83600027e985cf8693f791c3d3b96c220
[INFO] running `Command { std: "docker" "start" "-a" "fc202915e25fe941c6fbfc9091e446b83600027e985cf8693f791c3d3b96c220", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_cards-6cbc62bcb3ba7455)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::full_hand ... ok
[INFO] [stdout] test tests::stack_bottom ... ok
[INFO] [stdout] test tests::insert ... ok
[INFO] [stdout] test tests::stack_top ... ok
[INFO] [stdout] test tests::random_cards ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_cards
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/hand.rs - hand::Hand::push_top (line 118) ... FAILED
[INFO] [stdout] test src/hand.rs - hand::Hand::pop_top (line 72) ... FAILED
[INFO] [stdout] test src/hand.rs - hand::Hand::pop_bottom (line 98) ... FAILED
[INFO] [stdout] test src/hand.rs - hand::Hand::push_bottom (line 136) ... FAILED
[INFO] [stdout] test src/hand.rs - hand::Hand::stack_top (line 168) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/hand.rs - hand::Hand::push_top (line 118) stdout ----
[INFO] [stdout] error: no rules expected the token `Card`
[INFO] [stdout]  --> src/hand.rs:122:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Card::new(Value::Two, Suit::Spade)
[INFO] [stdout]   |         ^^^^ no rules expected this token in macro call
[INFO] [stdout]   |
[INFO] [stdout] note: while trying to match `;`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/macros.rs:46:16
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand`
[INFO] [stdout]  --> src/hand.rs:119:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut h = Hand::from(
[INFO] [stdout]   |             ^^^^ use of undeclared type `Hand`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_cards::hand::Hand;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Card`
[INFO] [stdout]   --> src/hand.rs:128:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | h = h.push(Card::new(Value::King, Suit::Spade))
[INFO] [stdout]    |            ^^^^ use of undeclared type `Card`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rust_cards::cards::Card;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]   --> src/hand.rs:128:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | h = h.push(Card::new(Value::King, Suit::Spade))
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Value`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rust_cards::cards::Value;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suit`
[INFO] [stdout]   --> src/hand.rs:128:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | h = h.push(Card::new(Value::King, Suit::Spade))
[INFO] [stdout]    |                                   ^^^^ use of undeclared type `Suit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rust_cards::cards::Suit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hand.rs - hand::Hand::pop_top (line 72) stdout ----
[INFO] [stdout] error: no rules expected the token `Card`
[INFO] [stdout]  --> src/hand.rs:76:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Card::new(Value::Two, Suit::Spade)
[INFO] [stdout]   |         ^^^^ no rules expected this token in macro call
[INFO] [stdout]   |
[INFO] [stdout] note: while trying to match `;`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/macros.rs:46:16
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand`
[INFO] [stdout]  --> src/hand.rs:73:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut h = Hand::from(
[INFO] [stdout]   |             ^^^^ use of undeclared type `Hand`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_cards::hand::Hand;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hand.rs - hand::Hand::pop_bottom (line 98) stdout ----
[INFO] [stdout] error: no rules expected the token `Card`
[INFO] [stdout]  --> src/hand.rs:102:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Card::new(Value::Two, Suit::Spade)
[INFO] [stdout]   |         ^^^^ no rules expected this token in macro call
[INFO] [stdout]   |
[INFO] [stdout] note: while trying to match `;`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/macros.rs:46:16
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand`
[INFO] [stdout]  --> src/hand.rs:99:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut h = Hand::from(
[INFO] [stdout]   |             ^^^^ use of undeclared type `Hand`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_cards::hand::Hand;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hand.rs - hand::Hand::push_bottom (line 136) stdout ----
[INFO] [stdout] error: no rules expected the token `Card`
[INFO] [stdout]  --> src/hand.rs:140:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Card::new(Value::Two, Suit::Spade)
[INFO] [stdout]   |         ^^^^ no rules expected this token in macro call
[INFO] [stdout]   |
[INFO] [stdout] note: while trying to match `;`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/macros.rs:46:16
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hand`
[INFO] [stdout]  --> src/hand.rs:137:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut h = Hand::from(
[INFO] [stdout]   |             ^^^^ use of undeclared type `Hand`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_cards::hand::Hand;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Card`
[INFO] [stdout]   --> src/hand.rs:146:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | h = h.push(Card::new(Value::Four, Suit::Spade))
[INFO] [stdout]    |            ^^^^ use of undeclared type `Card`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rust_cards::cards::Card;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value`
[INFO] [stdout]   --> src/hand.rs:146:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | h = h.push(Card::new(Value::Four, Suit::Spade))
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Value`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rust_cards::cards::Value;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suit`
[INFO] [stdout]   --> src/hand.rs:146:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | h = h.push(Card::new(Value::Four, Suit::Spade))
[INFO] [stdout]    |                                   ^^^^ use of undeclared type `Suit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use rust_cards::cards::Suit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/hand.rs - hand::Hand::pop_bottom (line 98)
[INFO] [stdout]     src/hand.rs - hand::Hand::pop_top (line 72)
[INFO] [stdout]     src/hand.rs - hand::Hand::push_bottom (line 136)
[INFO] [stdout]     src/hand.rs - hand::Hand::push_top (line 118)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "fc202915e25fe941c6fbfc9091e446b83600027e985cf8693f791c3d3b96c220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc202915e25fe941c6fbfc9091e446b83600027e985cf8693f791c3d3b96c220", kill_on_drop: false }`
[INFO] [stdout] fc202915e25fe941c6fbfc9091e446b83600027e985cf8693f791c3d3b96c220
