[INFO] cloning repository https://github.com/gkaganov/ygo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gkaganov/ygo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgkaganov%2Fygo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgkaganov%2Fygo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 515204ae42f49430c1e1984bb06ce55f0c72c954
[INFO] testing gkaganov/ygo against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgkaganov%2Fygo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/gkaganov/ygo
[INFO] finished tweaking git repo https://github.com/gkaganov/ygo
[INFO] tweaked toml for git repo https://github.com/gkaganov/ygo written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gkaganov/ygo on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gkaganov/ygo 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5c30ef6c849690d5c0e4e095998f85eb1218f7cd4c04887eff068a28f59c677
[INFO] running `Command { std: "docker" "start" "-a" "c5c30ef6c849690d5c0e4e095998f85eb1218f7cd4c04887eff068a28f59c677", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5c30ef6c849690d5c0e4e095998f85eb1218f7cd4c04887eff068a28f59c677", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5c30ef6c849690d5c0e4e095998f85eb1218f7cd4c04887eff068a28f59c677", kill_on_drop: false }`
[INFO] [stdout] c5c30ef6c849690d5c0e4e095998f85eb1218f7cd4c04887eff068a28f59c677
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fedf6311257680f27a0bcc7fa9583baea9c1c6e462017e3bd62960727129c4a
[INFO] running `Command { std: "docker" "start" "-a" "4fedf6311257680f27a0bcc7fa9583baea9c1c6e462017e3bd62960727129c4a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling ygo-core v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `controller_index` in this scope
[INFO] [stdout]   --> src/ygo_core/card_db.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub controller_index: usize,
[INFO] [stdout]    |         ---------------- a field by that name exists in `Self`
[INFO] [stdout] ...
[INFO] [stdout] 94 |             controller_index,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |             (CardTemplate::Monster(MonsterType::Fusion, ..), CardLocation::Deck(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 74 -             (CardTemplate::Monster(MonsterType::Fusion, ..), CardLocation::Deck(_)) => false,
[INFO] [stdout] 74 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::Deck(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:75:14
[INFO] [stdout]    |
[INFO] [stdout] 75 |             (CardTemplate::Monster(MonsterType::Xyz, ..), CardLocation::Deck(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 75 -             (CardTemplate::Monster(MonsterType::Xyz, ..), CardLocation::Deck(_)) => false,
[INFO] [stdout] 75 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::Deck(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:76:14
[INFO] [stdout]    |
[INFO] [stdout] 76 |             (CardTemplate::Monster(MonsterType::Link, ..), CardLocation::Deck(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 76 -             (CardTemplate::Monster(MonsterType::Link, ..), CardLocation::Deck(_)) => false,
[INFO] [stdout] 76 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::Deck(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 |             (CardTemplate::Monster(MonsterType::Fusion, ..), CardLocation::Hand(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 78 -             (CardTemplate::Monster(MonsterType::Fusion, ..), CardLocation::Hand(_)) => false,
[INFO] [stdout] 78 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::Hand(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 |             (CardTemplate::Monster(MonsterType::Xyz, ..), CardLocation::Hand(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 79 -             (CardTemplate::Monster(MonsterType::Xyz, ..), CardLocation::Hand(_)) => false,
[INFO] [stdout] 79 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::Hand(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 |             (CardTemplate::Monster(MonsterType::Link, ..), CardLocation::Hand(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 80 -             (CardTemplate::Monster(MonsterType::Link, ..), CardLocation::Hand(_)) => false,
[INFO] [stdout] 80 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::Hand(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |             (CardTemplate::Monster(MonsterType::Normal, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 82 -             (CardTemplate::Monster(MonsterType::Normal, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout] 82 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected unit struct, unit variant or constant, found struct variant `MonsterType::Normal`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:82:36
[INFO] [stdout]    |
[INFO] [stdout] 82 |             (CardTemplate::Monster(MonsterType::Normal, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^ not a unit struct, unit variant or constant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 82 |             (CardTemplate::Monster(MonsterType::Normal { name: _, level: _, atk: _, def: _ }, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |                                                        +++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0164]: expected tuple struct or tuple variant, found struct variant `CardTemplate::Monster`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 |             (CardTemplate::Monster(MonsterType::Effect, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 83 -             (CardTemplate::Monster(MonsterType::Effect, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout] 83 +             (CardTemplate::Monster { name: _, data: _ }, CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0533]: expected unit struct, unit variant or constant, found struct variant `MonsterType::Effect`
[INFO] [stdout]   --> src/ygo_core/card_db.rs:83:36
[INFO] [stdout]    |
[INFO] [stdout] 83 |             (CardTemplate::Monster(MonsterType::Effect, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^ not a unit struct, unit variant or constant
[INFO] [stdout]    |
[INFO] [stdout] help: the struct variant's fields are being ignored
[INFO] [stdout]    |
[INFO] [stdout] 83 |             (CardTemplate::Monster(MonsterType::Effect { name: _, level: _, atk: _, def: _, effect: _ }, ..), CardLocation::ExtraDeck(_)) => false,
[INFO] [stdout]    |                                                        ++++++++++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found variant `Spell`
[INFO] [stdout]    --> src/ygo_core/card_db.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout]  12 |       Spell { name: CardName, data: SpellType },
[INFO] [stdout]     |       ----------------------------------------- `Spell` defined here
[INFO] [stdout] ...
[INFO] [stdout] 112 | /         Spell(Normal {
[INFO] [stdout] 113 | |             name: PotOfGreed,
[INFO] [stdout] 114 | |             effect: Box::new(pot_of_greed),
[INFO] [stdout] 115 | |         }),
[INFO] [stdout]     | |__________^ help: use struct literal syntax instead: `Spell { name: val, data: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found variant `Spell`
[INFO] [stdout]    --> src/ygo_core/card_db.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout]  12 |       Spell { name: CardName, data: SpellType },
[INFO] [stdout]     |       ----------------------------------------- `Spell` defined here
[INFO] [stdout] ...
[INFO] [stdout] 116 | /         Spell(Normal {
[INFO] [stdout] 117 | |             name: PotOfGreed,
[INFO] [stdout] 118 | |             effect: Box::new(pot_of_greed),
[INFO] [stdout] 119 | |         }),
[INFO] [stdout]     | |__________^ help: use struct literal syntax instead: `Spell { name: val, data: val }`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `effect` on type `CardTemplate`
[INFO] [stdout]    --> src/ygo_core/state.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 |         (card.effect)(source_player_index, self.clone())
[INFO] [stdout]     |               ^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_player_index`
[INFO] [stdout]    --> src/ygo_core/card_db.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 | fn dark_hole(source_player_index: usize, state: State) -> State {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_player_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `card`
[INFO] [stdout]    --> src/ygo_core/state.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn is_activatable(card: &CardTemplate) -> bool {
[INFO] [stdout]     |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_card`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0164, E0423, E0425, E0533, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0164`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ygo-core` (bin "ygo-core") due to 14 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4fedf6311257680f27a0bcc7fa9583baea9c1c6e462017e3bd62960727129c4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fedf6311257680f27a0bcc7fa9583baea9c1c6e462017e3bd62960727129c4a", kill_on_drop: false }`
[INFO] [stdout] 4fedf6311257680f27a0bcc7fa9583baea9c1c6e462017e3bd62960727129c4a
