[INFO] cloning repository https://github.com/ESSAMAMI/RUSTIIIIIProject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ESSAMAMI/RUSTIIIIIProject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESSAMAMI%2FRUSTIIIIIProject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESSAMAMI%2FRUSTIIIIIProject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8808c52b595935716e56e6fe4cc402598a360910 [INFO] testing ESSAMAMI/RUSTIIIIIProject against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESSAMAMI%2FRUSTIIIIIProject" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 12% (114/950) Updating files: 13% (124/950) Updating files: 14% (133/950) Updating files: 15% (143/950) Updating files: 16% (152/950) Updating files: 17% (162/950) Updating files: 18% (171/950) Updating files: 19% (181/950) Updating files: 20% (190/950) Updating files: 21% (200/950) Updating files: 22% (209/950) Updating files: 23% (219/950) Updating files: 24% (228/950) Updating files: 25% (238/950) Updating files: 26% (247/950) Updating files: 27% (257/950) Updating files: 28% (266/950) Updating files: 29% (276/950) Updating files: 30% (285/950) Updating files: 31% (295/950) Updating files: 32% (304/950) Updating files: 33% (314/950) Updating files: 34% (323/950) Updating files: 35% (333/950) Updating files: 36% (342/950) Updating files: 37% (352/950) Updating files: 38% (361/950) Updating files: 39% (371/950) Updating files: 40% (380/950) Updating files: 41% (390/950) Updating files: 42% (399/950) Updating files: 43% (409/950) Updating files: 44% (418/950) Updating files: 45% (428/950) Updating files: 46% (437/950) Updating files: 47% (447/950) Updating files: 48% (456/950) Updating files: 49% (466/950) Updating files: 50% (475/950) Updating files: 51% (485/950) Updating files: 52% (494/950) Updating files: 53% (504/950) Updating files: 54% (513/950) Updating files: 55% (523/950) Updating files: 56% (532/950) Updating files: 57% (542/950) Updating files: 58% (551/950) Updating files: 59% (561/950) Updating files: 60% (570/950) Updating files: 61% (580/950) Updating files: 62% (589/950) Updating files: 63% (599/950) Updating files: 64% (608/950) Updating files: 65% (618/950) Updating files: 66% (627/950) Updating files: 67% (637/950) Updating files: 68% (646/950) Updating files: 69% (656/950) Updating files: 70% (665/950) Updating files: 71% (675/950) Updating files: 72% (684/950) Updating files: 73% (694/950) Updating files: 74% (703/950) Updating files: 75% (713/950) Updating files: 76% (722/950) Updating files: 77% (732/950) Updating files: 78% (741/950) Updating files: 79% (751/950) Updating files: 80% (760/950) Updating files: 81% (770/950) Updating files: 82% (779/950) Updating files: 83% (789/950) Updating files: 83% (795/950) Updating files: 84% (798/950) Updating files: 85% (808/950) Updating files: 85% (815/950) Updating files: 86% (817/950) Updating files: 87% (827/950) Updating files: 88% (836/950) Updating files: 89% (846/950) Updating files: 90% (855/950) Updating files: 91% (865/950) Updating files: 92% (874/950) Updating files: 93% (884/950) Updating files: 94% (893/950) Updating files: 95% (903/950) Updating files: 96% (912/950) Updating files: 97% (922/950) Updating files: 98% (931/950) Updating files: 99% (941/950) Updating files: 100% (950/950) Updating files: 100% (950/950), done. [INFO] validating manifest of git repo https://github.com/ESSAMAMI/RUSTIIIIIProject on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/ESSAMAMI/RUSTIIIIIProject already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.create-type [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edf7a1853e4861387503dc31d5d3c043a204be209a30ae8a0a3b7fb3c7069225 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "edf7a1853e4861387503dc31d5d3c043a204be209a30ae8a0a3b7fb3c7069225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edf7a1853e4861387503dc31d5d3c043a204be209a30ae8a0a3b7fb3c7069225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf7a1853e4861387503dc31d5d3c043a204be209a30ae8a0a3b7fb3c7069225", kill_on_drop: false }` [INFO] [stdout] edf7a1853e4861387503dc31d5d3c043a204be209a30ae8a0a3b7fb3c7069225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3e21b7d603bc5b21764da5702f853df69e952c2644fed50ce6188530693cb80 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d3e21b7d603bc5b21764da5702f853df69e952c2644fed50ce6188530693cb80", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.create-type [INFO] [stderr] Compiling Projet_Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `Projet_Rust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `projet_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/images.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 106 | if(self.image_type == "P3"){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if(self.image_type == "P3"){ [INFO] [stdout] 106 + if self.image_type == "P3" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/images.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `why` [INFO] [stdout] --> src/images.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | Err(why) => panic!("Unable to write file..."), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:91:22 [INFO] [stdout] | [INFO] [stdout] 91 | for pixel in self.vect_pixels.iter_mut(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | for pixel in unsafe{self.vect_pixels.iter_mut()} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if(self.image_type == "P3"){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:107:77 [INFO] [stdout] | [INFO] [stdout] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:107:89 [INFO] [stdout] | [INFO] [stdout] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:107:102 [INFO] [stdout] | [INFO] [stdout] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | for pixel in &self.vect_pixels{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/images.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/images.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/images.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | for pixel in unsafe{self.vect_pixels.iter_mut()} { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/images.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Projet_Rust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `projet_rust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/images.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | new_file.write_all("\n".as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Projet_Rust` due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3e21b7d603bc5b21764da5702f853df69e952c2644fed50ce6188530693cb80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3e21b7d603bc5b21764da5702f853df69e952c2644fed50ce6188530693cb80", kill_on_drop: false }` [INFO] [stdout] d3e21b7d603bc5b21764da5702f853df69e952c2644fed50ce6188530693cb80