[INFO] cloning repository https://github.com/kimuti-tsukai/pachislo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kimuti-tsukai/pachislo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkimuti-tsukai%2Fpachislo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkimuti-tsukai%2Fpachislo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec179fc699edcdf334311e79ef119d3f6b55bb06 [INFO] testing kimuti-tsukai/pachislo against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkimuti-tsukai%2Fpachislo" "/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/kimuti-tsukai/pachislo [INFO] finished tweaking git repo https://github.com/kimuti-tsukai/pachislo [INFO] tweaked toml for git repo https://github.com/kimuti-tsukai/pachislo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kimuti-tsukai/pachislo on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kimuti-tsukai/pachislo 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b2d033bb2d9c1363643440ee45d708bfffada28c9560349f76bc934c6ff26f3 [INFO] running `Command { std: "docker" "start" "-a" "9b2d033bb2d9c1363643440ee45d708bfffada28c9560349f76bc934c6ff26f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b2d033bb2d9c1363643440ee45d708bfffada28c9560349f76bc934c6ff26f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2d033bb2d9c1363643440ee45d708bfffada28c9560349f76bc934c6ff26f3", kill_on_drop: false }` [INFO] [stdout] 9b2d033bb2d9c1363643440ee45d708bfffada28c9560349f76bc934c6ff26f3 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d388603cbccae6d75bbb02e5f3ac55dc1ed4805b014468b5d0c4568cf33b54ac [INFO] running `Command { std: "docker" "start" "-a" "d388603cbccae6d75bbb02e5f3ac55dc1ed4805b014468b5d0c4568cf33b54ac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling pachislo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "d388603cbccae6d75bbb02e5f3ac55dc1ed4805b014468b5d0c4568cf33b54ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d388603cbccae6d75bbb02e5f3ac55dc1ed4805b014468b5d0c4568cf33b54ac", kill_on_drop: false }` [INFO] [stdout] d388603cbccae6d75bbb02e5f3ac55dc1ed4805b014468b5d0c4568cf33b54ac [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 533ee91cc1f5aa5e8d42e84275aa40a98e7011c84f0289603defbbf2ebaae132 [INFO] running `Command { std: "docker" "start" "-a" "533ee91cc1f5aa5e8d42e84275aa40a98e7011c84f0289603defbbf2ebaae132", kill_on_drop: false }` [INFO] [stderr] Compiling pachislo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "533ee91cc1f5aa5e8d42e84275aa40a98e7011c84f0289603defbbf2ebaae132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533ee91cc1f5aa5e8d42e84275aa40a98e7011c84f0289603defbbf2ebaae132", kill_on_drop: false }` [INFO] [stdout] 533ee91cc1f5aa5e8d42e84275aa40a98e7011c84f0289603defbbf2ebaae132 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a3fad5648e50709141b80404491f702866106bd9c2e2966444f30b0e80fdd28 [INFO] running `Command { std: "docker" "start" "-a" "8a3fad5648e50709141b80404491f702866106bd9c2e2966444f30b0e80fdd28", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pachislo-8bd6d1be5799d36c) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/game_test.rs (/opt/rustwide/target/debug/deps/game_test-ca5cd237b42df64e) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test has been running for over 60 seconds [INFO] [stdout] test test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 101.86s [INFO] [stdout] [INFO] [stderr] Running tests/slot_producer.rs (/opt/rustwide/target/debug/deps/slot_producer-f997196cb0522c24) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test win ... ok [INFO] [stdout] test lose ... ok [INFO] [stdout] test big_lose has been running for over 60 seconds [INFO] [stdout] test big_lose ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 69.61s [INFO] [stdout] [INFO] [stderr] Doc-tests pachislo [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/../README.md - (line 75) ... FAILED [INFO] [stdout] test src/interface.rs - interface::UserInput (line 20) ... FAILED [INFO] [stdout] test src/../README.md - (line 65) ... FAILED [INFO] [stdout] test src/lottery.rs - lottery::Lottery (line 19) ... FAILED [INFO] [stdout] test src/../README.md - (line 110) ... FAILED [INFO] [stdout] test src/game.rs - game::Game::new (line 229) ... FAILED [INFO] [stdout] test src/lottery.rs - lottery::Lottery::new (line 104) ... FAILED [INFO] [stdout] test src/slot.rs - slot::SlotProducer (line 23) ... FAILED [INFO] [stdout] test src/lottery.rs - lottery::Lottery::lottery_rush_continue (line 213) ... FAILED [INFO] [stdout] test src/../README.md - (line 56) ... FAILED [INFO] [stdout] test src/../README.md - (line 42) ... FAILED [INFO] [stdout] test src/../README.md - (line 161) ... FAILED [INFO] [stdout] test src/../README.md - (line 127) ... FAILED [INFO] [stdout] test src/slot.rs - slot::SlotProducer::produce_win (line 110) ... FAILED [INFO] [stdout] test src/interface.rs - interface::UserOutput (line 62) ... ok [INFO] [stdout] test src/config.rs - config::Config (line 10) ... ok [INFO] [stdout] test src/lottery.rs - lottery::LotteryResult::is_win (line 80) ... ok [INFO] [stdout] test src/slot.rs - slot::SlotProducer::produce (line 219) ... FAILED [INFO] [stdout] test src/slot.rs - slot::SlotProducer::new (line 59) ... FAILED [INFO] [stdout] test src/slot.rs - slot::SlotProducer::produce_lose (line 137) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 75) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Probability` in this scope [INFO] [stdout] --> src/../README.md:76:1 [INFO] [stdout] | [INFO] [stdout] 3 | Probability { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::config::Probability; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SlotProbability` in this scope [INFO] [stdout] --> src/../README.md:77:13 [INFO] [stdout] | [INFO] [stdout] 4 | normal: SlotProbability { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::config::SlotProbability; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SlotProbability` in this scope [INFO] [stdout] --> src/../README.md:82:11 [INFO] [stdout] | [INFO] [stdout] 9 | rush: SlotProbability { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::config::SlotProbability; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SlotProbability` in this scope [INFO] [stdout] --> src/../README.md:87:20 [INFO] [stdout] | [INFO] [stdout] 14 | rush_continue: SlotProbability { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::config::SlotProbability; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/interface.rs - interface::UserInput (line 20) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ConsoleOutput` in this scope [INFO] [stdout] --> src/interface.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 8 | struct ConsoleInput; [INFO] [stdout] | -------------------- similarly named struct `ConsoleInput` defined here [INFO] [stdout] 9 | [INFO] [stdout] 10 | impl UserInput for ConsoleInput { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 - impl UserInput for ConsoleInput { [INFO] [stdout] 10 + impl UserInput for ConsoleInput { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl UserInput for ConsoleInput { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConsoleOutput` in this scope [INFO] [stdout] --> src/interface.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 8 | struct ConsoleInput; [INFO] [stdout] | -------------------- similarly named struct `ConsoleInput` defined here [INFO] [stdout] ... [INFO] [stdout] 11 | fn wait_for_input(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - fn wait_for_input(&mut self) -> Vec> { [INFO] [stdout] 11 + fn wait_for_input(&mut self) -> Vec> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | impl UserInput for ConsoleInput { [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 65) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BallsConfig` in this scope [INFO] [stdout] --> src/../README.md:66:1 [INFO] [stdout] | [INFO] [stdout] 3 | BallsConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::config::BallsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lottery.rs - lottery::Lottery (line 19) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lottery.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 4 | let probability_config = /* your probability configuration */; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 110) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `run` [INFO] [stdout] --> src/../README.md:112:7 [INFO] [stdout] | [INFO] [stdout] 2 | cargo run --example cli [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/game.rs - game::Game::new (line 229) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `input` in this scope [INFO] [stdout] --> src/game.rs:233:38 [INFO] [stdout] | [INFO] [stdout] 7 | let game = Game::new(CONFIG_EXAMPLE, input, output)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `output` in this scope [INFO] [stdout] --> src/game.rs:233:45 [INFO] [stdout] | [INFO] [stdout] 7 | let game = Game::new(CONFIG_EXAMPLE, input, output)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lottery.rs - lottery::Lottery::new (line 104) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `Lottery<_>` [INFO] [stdout] --> src/lottery.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 8 | let lottery = Lottery::new(CONFIG_EXAMPLE.probability); [INFO] [stdout] | ^^^^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: rand::rng::Rng` [INFO] [stdout] note: required by a bound in `Lottery` [INFO] [stdout] --> /opt/rustwide/workdir/src/lottery.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Lottery { [INFO] [stdout] | ^^^ required by this bound in `Lottery` [INFO] [stdout] help: consider giving `lottery` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 8 | let lottery: Lottery = Lottery::new(CONFIG_EXAMPLE.probability); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slot.rs - slot::SlotProducer (line 23) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `SlotProducer<&str, _>` [INFO] [stdout] --> src/slot.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 8 | let mut producer = SlotProducer::new(3, symbols); [INFO] [stdout] | ^^^^^^^^^^^^ ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: rand::rng::Rng` [INFO] [stdout] note: required by a bound in `SlotProducer` [INFO] [stdout] --> /opt/rustwide/workdir/src/slot.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SlotProducer { [INFO] [stdout] | ^^^ required by this bound in `SlotProducer` [INFO] [stdout] help: consider giving `producer` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 8 | let mut producer: SlotProducer<&_, R> = SlotProducer::new(3, symbols); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lottery.rs - lottery::Lottery::lottery_rush_continue (line 213) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `Lottery<_>` [INFO] [stdout] --> src/lottery.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 8 | let mut lottery = Lottery::new(CONFIG_EXAMPLE.probability); [INFO] [stdout] | ^^^^^^^^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: rand::rng::Rng` [INFO] [stdout] note: required by a bound in `Lottery` [INFO] [stdout] --> /opt/rustwide/workdir/src/lottery.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Lottery { [INFO] [stdout] | ^^^ required by this bound in `Lottery` [INFO] [stdout] help: consider giving `lottery` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 8 | let mut lottery: Lottery = Lottery::new(CONFIG_EXAMPLE.probability); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 56) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `BallsConfig` in this scope [INFO] [stdout] --> src/../README.md:58:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub balls: BallsConfig, // Ball management settings [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::config::BallsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Probability` in this scope [INFO] [stdout] --> src/../README.md:59:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub probability: Probability, // Win/loss probabilities [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::config::Probability; [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 42) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `your_input` in this scope [INFO] [stdout] --> src/../README.md:47:42 [INFO] [stdout] | [INFO] [stdout] 8 | let mut game = Game::new(CONFIG_EXAMPLE, your_input, your_output).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `your_output` in this scope [INFO] [stdout] --> src/../README.md:47:54 [INFO] [stdout] | [INFO] [stdout] 8 | let mut game = Game::new(CONFIG_EXAMPLE, your_input, your_output).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 161) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SlotProducer` [INFO] [stdout] --> src/../README.md:162:21 [INFO] [stdout] | [INFO] [stdout] 3 | let slot_producer = SlotProducer::new(3, vec!['🍒', '🍋', '🔔', '⭐']); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SlotProducer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::slot::SlotProducer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 127) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `UserInput` in this scope [INFO] [stdout] --> src/../README.md:128:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl UserInput for MyInput { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::interface::UserInput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyOutput` in this scope [INFO] [stdout] --> src/../README.md:128:16 [INFO] [stdout] | [INFO] [stdout] 3 | impl UserInput for MyInput { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl UserInput for MyInput { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyInput` in this scope [INFO] [stdout] --> src/../README.md:128:30 [INFO] [stdout] | [INFO] [stdout] 3 | impl UserInput for MyInput { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Command` in this scope [INFO] [stdout] --> src/../README.md:129:41 [INFO] [stdout] | [INFO] [stdout] 4 | fn wait_for_input(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::command::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `O` in this scope [INFO] [stdout] --> src/../README.md:129:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn wait_for_input(&mut self) -> Vec> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | impl UserInput for MyInput { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UserOutput` in this scope [INFO] [stdout] --> src/../README.md:134:6 [INFO] [stdout] | [INFO] [stdout] 9 | impl UserOutput for MyOutput { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::interface::UserOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MyOutput` in this scope [INFO] [stdout] --> src/../README.md:134:21 [INFO] [stdout] | [INFO] [stdout] 9 | impl UserOutput for MyOutput { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transition` in this scope [INFO] [stdout] --> src/../README.md:135:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn default(&mut self, state: Transition<'_>) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::game::Transition; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/../README.md:139:39 [INFO] [stdout] | [INFO] [stdout] 14 | fn finish_game(&mut self, state: &GameState) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::game::GameState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LotteryResult` in this scope [INFO] [stdout] --> src/../README.md:143:42 [INFO] [stdout] | [INFO] [stdout] 18 | fn lottery_normal(&mut self, result: LotteryResult) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::lottery::LotteryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LotteryResult` in this scope [INFO] [stdout] --> src/../README.md:147:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn lottery_rush(&mut self, result: LotteryResult) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::lottery::LotteryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LotteryResult` in this scope [INFO] [stdout] --> src/../README.md:151:49 [INFO] [stdout] | [INFO] [stdout] 26 | fn lottery_rush_continue(&mut self, result: LotteryResult) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use pachislo::lottery::LotteryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slot.rs - slot::SlotProducer::produce_win (line 110) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `SlotProducer<&str, _>` [INFO] [stdout] --> src/slot.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 7 | let mut producer = SlotProducer::new(3, vec!["A", "B", "C"]); [INFO] [stdout] | ^^^^^^^^^^^^ ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: rand::rng::Rng` [INFO] [stdout] note: required by a bound in `SlotProducer` [INFO] [stdout] --> /opt/rustwide/workdir/src/slot.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SlotProducer { [INFO] [stdout] | ^^^ required by this bound in `SlotProducer` [INFO] [stdout] help: consider giving `producer` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 7 | let mut producer: SlotProducer<&_, R> = SlotProducer::new(3, vec!["A", "B", "C"]); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slot.rs - slot::SlotProducer::produce (line 219) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `SlotProducer<&str, _>` [INFO] [stdout] --> src/slot.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 8 | let mut producer = SlotProducer::new(3, vec!["A", "B", "C"]); [INFO] [stdout] | ^^^^^^^^^^^^ ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: rand::rng::Rng` [INFO] [stdout] note: required by a bound in `SlotProducer` [INFO] [stdout] --> /opt/rustwide/workdir/src/slot.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SlotProducer { [INFO] [stdout] | ^^^ required by this bound in `SlotProducer` [INFO] [stdout] help: consider giving `producer` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 8 | let mut producer: SlotProducer<&_, R> = SlotProducer::new(3, vec!["A", "B", "C"]); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slot.rs - slot::SlotProducer::new (line 59) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `SlotProducer<&str, _>` [INFO] [stdout] --> src/slot.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 8 | let producer = SlotProducer::new(3, symbols); [INFO] [stdout] | ^^^^^^^^ ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: rand::rng::Rng` [INFO] [stdout] note: required by a bound in `SlotProducer` [INFO] [stdout] --> /opt/rustwide/workdir/src/slot.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SlotProducer { [INFO] [stdout] | ^^^ required by this bound in `SlotProducer` [INFO] [stdout] help: consider giving `producer` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 8 | let producer: SlotProducer<&_, R> = SlotProducer::new(3, symbols); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slot.rs - slot::SlotProducer::produce_lose (line 137) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `SlotProducer<&str, _>` [INFO] [stdout] --> src/slot.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 7 | let mut producer = SlotProducer::new(3, vec!["A", "B", "C"]); [INFO] [stdout] | ^^^^^^^^^^^^ ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: rand::rng::Rng` [INFO] [stdout] note: required by a bound in `SlotProducer` [INFO] [stdout] --> /opt/rustwide/workdir/src/slot.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct SlotProducer { [INFO] [stdout] | ^^^ required by this bound in `SlotProducer` [INFO] [stdout] help: consider giving `producer` an explicit type, where the type for type parameter `R` is specified [INFO] [stdout] | [INFO] [stdout] 7 | let mut producer: SlotProducer<&_, R> = SlotProducer::new(3, vec!["A", "B", "C"]); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 110) [INFO] [stdout] src/../README.md - (line 127) [INFO] [stdout] src/../README.md - (line 161) [INFO] [stdout] src/../README.md - (line 42) [INFO] [stdout] src/../README.md - (line 56) [INFO] [stdout] src/../README.md - (line 65) [INFO] [stdout] src/../README.md - (line 75) [INFO] [stdout] src/game.rs - game::Game::new (line 229) [INFO] [stdout] src/interface.rs - interface::UserInput (line 20) [INFO] [stdout] src/lottery.rs - lottery::Lottery (line 19) [INFO] [stdout] src/lottery.rs - lottery::Lottery::lottery_rush_continue (line 213) [INFO] [stdout] src/lottery.rs - lottery::Lottery::new (line 104) [INFO] [stdout] src/slot.rs - slot::SlotProducer (line 23) [INFO] [stdout] src/slot.rs - slot::SlotProducer::new (line 59) [INFO] [stdout] src/slot.rs - slot::SlotProducer::produce (line 219) [INFO] [stdout] src/slot.rs - slot::SlotProducer::produce_lose (line 137) [INFO] [stdout] src/slot.rs - slot::SlotProducer::produce_win (line 110) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.86s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.07s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8a3fad5648e50709141b80404491f702866106bd9c2e2966444f30b0e80fdd28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a3fad5648e50709141b80404491f702866106bd9c2e2966444f30b0e80fdd28", kill_on_drop: false }` [INFO] [stdout] 8a3fad5648e50709141b80404491f702866106bd9c2e2966444f30b0e80fdd28