[INFO] updating cached repository https://github.com/ESSAMAMI/RUSTIIIIIProject [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8808c52b595935716e56e6fe4cc402598a360910 [INFO] checking ESSAMAMI/RUSTIIIIIProject against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESSAMAMI%2FRUSTIIIIIProject" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 5% (55/950) Checking out files: 6% (57/950) Checking out files: 6% (64/950) Checking out files: 7% (67/950) Checking out files: 8% (76/950) Checking out files: 9% (86/950) Checking out files: 10% (95/950) Checking out files: 11% (105/950) Checking out files: 12% (114/950) Checking out files: 13% (124/950) Checking out files: 14% (133/950) Checking out files: 15% (143/950) Checking out files: 16% (152/950) Checking out files: 17% (162/950) Checking out files: 18% (171/950) Checking out files: 19% (181/950) Checking out files: 20% (190/950) Checking out files: 21% (200/950) Checking out files: 22% (209/950) Checking out files: 23% (219/950) Checking out files: 24% (228/950) Checking out files: 25% (238/950) Checking out files: 26% (247/950) Checking out files: 27% (257/950) Checking out files: 28% (266/950) Checking out files: 29% (276/950) Checking out files: 30% (285/950) Checking out files: 31% (295/950) Checking out files: 32% (304/950) Checking out files: 33% (314/950) Checking out files: 34% (323/950) Checking out files: 35% (333/950) Checking out files: 36% (342/950) Checking out files: 37% (352/950) Checking out files: 38% (361/950) Checking out files: 39% (371/950) Checking out files: 40% (380/950) Checking out files: 41% (390/950) Checking out files: 42% (399/950) Checking out files: 43% (409/950) Checking out files: 44% (418/950) Checking out files: 45% (428/950) Checking out files: 46% (437/950) Checking out files: 47% (447/950) Checking out files: 48% (456/950) Checking out files: 49% (466/950) Checking out files: 50% (475/950) Checking out files: 51% (485/950) Checking out files: 52% (494/950) Checking out files: 53% (504/950) Checking out files: 54% (513/950) Checking out files: 55% (523/950) Checking out files: 56% (532/950) Checking out files: 57% (542/950) Checking out files: 58% (551/950) Checking out files: 59% (561/950) Checking out files: 60% (570/950) Checking out files: 61% (580/950) Checking out files: 62% (589/950) Checking out files: 62% (590/950) Checking out files: 63% (599/950) Checking out files: 64% (608/950) Checking out files: 65% (618/950) Checking out files: 66% (627/950) Checking out files: 67% (637/950) Checking out files: 68% (646/950) Checking out files: 69% (656/950) Checking out files: 70% (665/950) Checking out files: 71% (675/950) Checking out files: 72% (684/950) Checking out files: 73% (694/950) Checking out files: 74% (703/950) Checking out files: 75% (713/950) Checking out files: 76% (722/950) Checking out files: 76% (725/950) Checking out files: 77% (732/950) Checking out files: 78% (741/950) Checking out files: 78% (746/950) Checking out files: 79% (751/950) Checking out files: 80% (760/950) Checking out files: 81% (770/950) Checking out files: 82% (779/950) Checking out files: 83% (789/950) Checking out files: 83% (797/950) Checking out files: 84% (798/950) Checking out files: 84% (801/950) Checking out files: 85% (808/950) Checking out files: 85% (810/950) Checking out files: 85% (815/950) Checking out files: 86% (817/950) Checking out files: 87% (827/950) Checking out files: 87% (833/950) Checking out files: 88% (836/950) Checking out files: 89% (846/950) Checking out files: 90% (855/950) Checking out files: 90% (857/950) Checking out files: 91% (865/950) Checking out files: 92% (874/950) Checking out files: 93% (884/950) Checking out files: 94% (893/950) Checking out files: 95% (903/950) Checking out files: 96% (912/950) Checking out files: 97% (922/950) Checking out files: 98% (931/950) Checking out files: 99% (941/950) Checking out files: 100% (950/950) Checking out files: 100% (950/950), done. [INFO] validating manifest of git repo https://github.com/ESSAMAMI/RUSTIIIIIProject on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ESSAMAMI/RUSTIIIIIProject [INFO] finished tweaking git repo https://github.com/ESSAMAMI/RUSTIIIIIProject [INFO] tweaked toml for git repo https://github.com/ESSAMAMI/RUSTIIIIIProject written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ESSAMAMI/RUSTIIIIIProject already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: unused manifest key: lib.create-type [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0d6be332491f339b9ffe837a49cad5d55f819da4b3332004083f2b04f99bd236 [INFO] running `"docker" "start" "-a" "0d6be332491f339b9ffe837a49cad5d55f819da4b3332004083f2b04f99bd236"` [INFO] [stderr] warning: unused manifest key: lib.create-type [INFO] [stderr] Checking Projet_Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: crate `Projet_Rust` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `projet_rust` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: crate `Projet_Rust` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `projet_rust` [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/images.rs:106:11 [INFO] [stderr] | [INFO] [stderr] 106 | if(self.image_type == "P3"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/images.rs:106:11 [INFO] [stderr] | [INFO] [stderr] 106 | if(self.image_type == "P3"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/pixel.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | ((self.red as f64 + self.green as f64 + self.blue as f64) / 3.0) as u8 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u8` is invalid [INFO] [stderr] --> src/pixel.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | ((self.red as f64 + self.green as f64 + self.blue as f64) / 3.0) as u8 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `Projet_Rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `Projet_Rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0d6be332491f339b9ffe837a49cad5d55f819da4b3332004083f2b04f99bd236"` [INFO] running `"docker" "rm" "-f" "0d6be332491f339b9ffe837a49cad5d55f819da4b3332004083f2b04f99bd236"` [INFO] [stdout] 0d6be332491f339b9ffe837a49cad5d55f819da4b3332004083f2b04f99bd236