[INFO] cloning repository https://github.com/williammartin/gilded-rose-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/williammartin/gilded-rose-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliammartin%2Fgilded-rose-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliammartin%2Fgilded-rose-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f35c2b6c80a1a9a662575b673c753f5ad282e88e [INFO] testing williammartin/gilded-rose-rust against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwilliammartin%2Fgilded-rose-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/williammartin/gilded-rose-rust [INFO] finished tweaking git repo https://github.com/williammartin/gilded-rose-rust [INFO] tweaked toml for git repo https://github.com/williammartin/gilded-rose-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/williammartin/gilded-rose-rust on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/williammartin/gilded-rose-rust 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72d50693800faa29f0223ace2df5e9ce8faa3a174be83dc713320904aa749c86 [INFO] running `Command { std: "docker" "start" "-a" "72d50693800faa29f0223ace2df5e9ce8faa3a174be83dc713320904aa749c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72d50693800faa29f0223ace2df5e9ce8faa3a174be83dc713320904aa749c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72d50693800faa29f0223ace2df5e9ce8faa3a174be83dc713320904aa749c86", kill_on_drop: false }` [INFO] [stdout] 72d50693800faa29f0223ace2df5e9ce8faa3a174be83dc713320904aa749c86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 342f15e3c39714545debf3abd75d219b7395c41b1339561caa74760ff008cbaf [INFO] running `Command { std: "docker" "start" "-a" "342f15e3c39714545debf3abd75d219b7395c41b1339561caa74760ff008cbaf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gilded_rose v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `update` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod update; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `update`, create file "src/update.rs" or "src/update/mod.rs" [INFO] [stdout] = note: if there is a `mod update` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `cond` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod cond; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `cond`, create file "src/cond.rs" or "src/cond/mod.rs" [INFO] [stdout] = note: if there is a `mod cond` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ItemCondition` in this scope [INFO] [stdout] --> src/lib.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | condition: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ItemChange` in this scope [INFO] [stdout] --> src/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | effects: Vec, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | enum ItemBehavior { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AlwaysTrueCondition` in this scope [INFO] [stdout] --> src/lib.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | condition: Box::new(AlwaysTrueCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AlwaysTrueCondition` in this scope [INFO] [stdout] --> src/lib.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | condition: Box::new(AlwaysTrueCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AlwaysTrueCondition` in this scope [INFO] [stdout] --> src/lib.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | condition: Box::new(AlwaysTrueCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AlwaysTrueCondition` in this scope [INFO] [stdout] --> src/lib.rs:102:41 [INFO] [stdout] | [INFO] [stdout] 102 | condition: Box::new(AlwaysTrueCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AlwaysTrueCondition` in this scope [INFO] [stdout] --> src/lib.rs:112:41 [INFO] [stdout] | [INFO] [stdout] 112 | condition: Box::new(AlwaysTrueCondition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cond::*` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use cond::*; [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 import: `update::*` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use update::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | effects: vec![ItemChange::DecreaseSellInByOne], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | effects: vec![ItemChange::DecreaseQuality(1)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SellByCondition` [INFO] [stdout] --> src/lib.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | condition: Box::new(SellByCondition::After), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SellByCondition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | effects: vec![ItemChange::DecreaseQuality(1)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | effects: vec![ItemChange::DecreaseQuality(2)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SellByCondition` [INFO] [stdout] --> src/lib.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | condition: Box::new(SellByCondition::After), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SellByCondition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | effects: vec![ItemChange::DecreaseQuality(2)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | effects: vec![ItemChange::IncreaseQuality(1)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | effects: vec![ItemChange::IncreaseQuality(1)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SellByCondition` [INFO] [stdout] --> src/lib.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | condition: Box::new(SellByCondition::WithinNDaysExclusive(10)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SellByCondition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | effects: vec![ItemChange::IncreaseQuality(1)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SellByCondition` [INFO] [stdout] --> src/lib.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | condition: Box::new(SellByCondition::WithinNDaysExclusive(5)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SellByCondition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | effects: vec![ItemChange::IncreaseQuality(1)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SellByCondition` [INFO] [stdout] --> src/lib.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | condition: Box::new(SellByCondition::OnDayOrAfter), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SellByCondition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ItemChange` [INFO] [stdout] --> src/lib.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 125 | effects: vec![ItemChange::SetQuality(0)], [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ItemChange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gilded_rose` (lib) due to 24 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "342f15e3c39714545debf3abd75d219b7395c41b1339561caa74760ff008cbaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342f15e3c39714545debf3abd75d219b7395c41b1339561caa74760ff008cbaf", kill_on_drop: false }` [INFO] [stdout] 342f15e3c39714545debf3abd75d219b7395c41b1339561caa74760ff008cbaf