[INFO] updating cached repository EzraWeller/stakeholder-theory-toy [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/EzraWeller/stakeholder-theory-toy [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/EzraWeller/stakeholder-theory-toy" "work/ex/pr-60466/sources/master#7840a0b753a065a41999f1fb6028f67d33e3fdd5/gh/EzraWeller/stakeholder-theory-toy"` [INFO] [stderr] Cloning into 'work/ex/pr-60466/sources/master#7840a0b753a065a41999f1fb6028f67d33e3fdd5/gh/EzraWeller/stakeholder-theory-toy'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/EzraWeller/stakeholder-theory-toy" "work/ex/pr-60466/sources/try#6a9f0b6cc40687e25f9d772e3b10bab335c63853/gh/EzraWeller/stakeholder-theory-toy"` [INFO] [stderr] Cloning into 'work/ex/pr-60466/sources/try#6a9f0b6cc40687e25f9d772e3b10bab335c63853/gh/EzraWeller/stakeholder-theory-toy'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 341742e761259ce8d8999a9883df676f0fc521c1 [INFO] sha for GitHub repo EzraWeller/stakeholder-theory-toy: 341742e761259ce8d8999a9883df676f0fc521c1 [INFO] validating manifest of EzraWeller/stakeholder-theory-toy on toolchain master#7840a0b753a065a41999f1fb6028f67d33e3fdd5 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+7840a0b753a065a41999f1fb6028f67d33e3fdd5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of EzraWeller/stakeholder-theory-toy on toolchain try#6a9f0b6cc40687e25f9d772e3b10bab335c63853 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+6a9f0b6cc40687e25f9d772e3b10bab335c63853-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing EzraWeller/stakeholder-theory-toy [INFO] finished frobbing EzraWeller/stakeholder-theory-toy [INFO] frobbed toml for EzraWeller/stakeholder-theory-toy written to work/ex/pr-60466/sources/master#7840a0b753a065a41999f1fb6028f67d33e3fdd5/gh/EzraWeller/stakeholder-theory-toy/Cargo.toml [INFO] started frobbing EzraWeller/stakeholder-theory-toy [INFO] finished frobbing EzraWeller/stakeholder-theory-toy [INFO] frobbed toml for EzraWeller/stakeholder-theory-toy written to work/ex/pr-60466/sources/try#6a9f0b6cc40687e25f9d772e3b10bab335c63853/gh/EzraWeller/stakeholder-theory-toy/Cargo.toml [INFO] crate EzraWeller/stakeholder-theory-toy already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+7840a0b753a065a41999f1fb6028f67d33e3fdd5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+6a9f0b6cc40687e25f9d772e3b10bab335c63853-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking EzraWeller/stakeholder-theory-toy against try#6a9f0b6cc40687e25f9d772e3b10bab335c63853 for pr-60466 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60466/worker-7/try#6a9f0b6cc40687e25f9d772e3b10bab335c63853:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60466/sources/try#6a9f0b6cc40687e25f9d772e3b10bab335c63853/gh/EzraWeller/stakeholder-theory-toy:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+6a9f0b6cc40687e25f9d772e3b10bab335c63853-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 52d97f534f2b877d6f182fdc7044fe267dcd68f32291176a07aeb63c0c3fcf06 [INFO] running `"docker" "start" "-a" "52d97f534f2b877d6f182fdc7044fe267dcd68f32291176a07aeb63c0c3fcf06"` [INFO] [stderr] Checking stakeholder_theory v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find value `servings` in this scope [INFO] [stderr] --> src/main.rs:358:58 [INFO] [stderr] | [INFO] [stderr] 358 | self.usefulness = &self.employees * inputs[2] / &servings; [INFO] [stderr] | ^^^^^^^^ help: you might have meant to use the available field: `self.servings` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `servings` in this scope [INFO] [stderr] --> src/main.rs:358:58 [INFO] [stderr] | [INFO] [stderr] 358 | self.usefulness = &self.employees * inputs[2] / &servings; [INFO] [stderr] | ^^^^^^^^ help: you might have meant to use the available field: `self.servings` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:364:57 [INFO] [stderr] | [INFO] [stderr] 364 | pub fn decide_strategy(&self, firm_type: String) -> [u32; 5] { [INFO] [stderr] | --------------- ^^^^^^^^ expected array of 5 elements, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `[u32; 5]` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `stakeholder_theory`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:364:57 [INFO] [stderr] | [INFO] [stderr] 364 | pub fn decide_strategy(&self, firm_type: String) -> [u32; 5] { [INFO] [stderr] | --------------- ^^^^^^^^ expected array of 5 elements, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `[u32; 5]` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `stakeholder_theory`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "52d97f534f2b877d6f182fdc7044fe267dcd68f32291176a07aeb63c0c3fcf06"` [INFO] running `"docker" "rm" "-f" "52d97f534f2b877d6f182fdc7044fe267dcd68f32291176a07aeb63c0c3fcf06"` [INFO] [stdout] 52d97f534f2b877d6f182fdc7044fe267dcd68f32291176a07aeb63c0c3fcf06