[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESSAMAMI%2FRUSTIIIIIProject" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 4% (43/950) Updating files: 5% (48/950) Updating files: 6% (57/950) Updating files: 7% (67/950) Updating files: 8% (76/950) Updating files: 9% (86/950) Updating files: 10% (95/950) Updating files: 11% (105/950) 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% (797/950) Updating files: 84% (798/950) Updating files: 85% (808/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: 96% (915/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 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-27/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.create-type [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1931cd37c39327f2a7e2ce09f7ac55120d916b32eefcb1635954744fc386c4f7 [INFO] running `Command { std: "docker" "start" "-a" "1931cd37c39327f2a7e2ce09f7ac55120d916b32eefcb1635954744fc386c4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1931cd37c39327f2a7e2ce09f7ac55120d916b32eefcb1635954744fc386c4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1931cd37c39327f2a7e2ce09f7ac55120d916b32eefcb1635954744fc386c4f7", kill_on_drop: false }` [INFO] [stdout] 1931cd37c39327f2a7e2ce09f7ac55120d916b32eefcb1635954744fc386c4f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e80387d50bc5baf40f97fa20acae1aec7286bdaa574bd9127ccfb90ded82f8e [INFO] running `Command { std: "docker" "start" "-a" "1e80387d50bc5baf40f97fa20acae1aec7286bdaa574bd9127ccfb90ded82f8e", 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] [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] [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] [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] [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] [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] [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] [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] [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] 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] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "1e80387d50bc5baf40f97fa20acae1aec7286bdaa574bd9127ccfb90ded82f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e80387d50bc5baf40f97fa20acae1aec7286bdaa574bd9127ccfb90ded82f8e", kill_on_drop: false }` [INFO] [stdout] 1e80387d50bc5baf40f97fa20acae1aec7286bdaa574bd9127ccfb90ded82f8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74f3cfd66624e49ae9e524d9a6db30f3f768e06ad0baecb2cc495182c5046e1f [INFO] running `Command { std: "docker" "start" "-a" "74f3cfd66624e49ae9e524d9a6db30f3f768e06ad0baecb2cc495182c5046e1f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.create-type [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] [stderr] Compiling Projet_Rust v0.1.0 (/opt/rustwide/workdir) [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 `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: 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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(image.width, 34) [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] = note: this warning originates in the macro `assert_eq` (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:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | assert_eq!(image.height, 7) [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] = note: this warning originates in the macro `assert_eq` (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: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: reference to packed field is unaligned [INFO] [stdout] --> src/images.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(image.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] = note: this warning originates in the macro `assert_eq` (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:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(image.high_pixel, 255) [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] = note: this warning originates in the macro `assert_eq` (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] warning: function is never used: `image_width` [INFO] [stdout] --> src/images.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn image_width() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `image_height` [INFO] [stdout] --> src/images.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | fn image_height() { [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] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "74f3cfd66624e49ae9e524d9a6db30f3f768e06ad0baecb2cc495182c5046e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f3cfd66624e49ae9e524d9a6db30f3f768e06ad0baecb2cc495182c5046e1f", kill_on_drop: false }` [INFO] [stdout] 74f3cfd66624e49ae9e524d9a6db30f3f768e06ad0baecb2cc495182c5046e1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1493312dcd92838ce621144380efffcf410e385dde18807e2bbf25890798f7de [INFO] running `Command { std: "docker" "start" "-a" "1493312dcd92838ce621144380efffcf410e385dde18807e2bbf25890798f7de", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: lib.create-type [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: `Projet_Rust` (lib) generated 1 warning [INFO] [stderr] warning: `Projet_Rust` (lib test) generated 1 warning (1 duplicate) [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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 106 - if(self.image_type == "P3"){ [INFO] [stderr] 106 + if self.image_type == "P3" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: crate-level attribute should be in the root module [INFO] [stderr] --> src/images.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `why` [INFO] [stderr] --> src/images.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | Err(why) => panic!("Unable to write file..."), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:91:22 [INFO] [stderr] | [INFO] [stderr] 91 | for pixel in self.vect_pixels.iter_mut(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unaligned_references)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:98:29 [INFO] [stderr] | [INFO] [stderr] 98 | for pixel in unsafe{self.vect_pixels.iter_mut()} { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 106 | if(self.image_type == "P3"){ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:107:60 [INFO] [stderr] | [INFO] [stderr] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:107:77 [INFO] [stderr] | [INFO] [stderr] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:107:89 [INFO] [stderr] | [INFO] [stderr] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:107:102 [INFO] [stderr] | [INFO] [stderr] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:116:26 [INFO] [stderr] | [INFO] [stderr] 116 | for pixel in &self.vect_pixels{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | assert_eq!(image.width, 34) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | assert_eq!(image.height, 7) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/images.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/images.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | assert_eq!(image.image_type, "P3") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/images.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | assert_eq!(image.high_pixel, 255) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/images.rs:98:22 [INFO] [stderr] | [INFO] [stderr] 98 | for pixel in unsafe{self.vect_pixels.iter_mut()} { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/images.rs:107:26 [INFO] [stderr] | [INFO] [stderr] 107 | let header = unsafe{format!("{}\n{} {}\n{}\n", self.image_type, self.width, self.height, self.high_pixel)}; [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: function is never used: `image_width` [INFO] [stderr] --> src/images.rs:150:8 [INFO] [stderr] | [INFO] [stderr] 150 | fn image_width() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `image_height` [INFO] [stderr] --> src/images.rs:155:8 [INFO] [stderr] | [INFO] [stderr] 155 | fn image_height() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/images.rs:119:21 [INFO] [stderr] | [INFO] [stderr] 119 | new_file.write_all("\n".as_bytes()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `Projet_Rust` (bin "Projet_Rust" test) generated 23 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/Projet_Rust-c8ed3d09adea9a76) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/Projet_Rust-deb36e47045bc7f9) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test images::tests::bench_new_with_file ... FAILED [INFO] [stdout] test images::tests::image_header ... FAILED [INFO] [stdout] test images::tests::max_pixel ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- images::tests::bench_new_with_file stdout ---- [INFO] [stdout] thread 'images::tests::bench_new_with_file' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/images.rs:30:69 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5644e3efe57c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5644e3efe57c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5644e3efe57c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5644e3efe57c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5644e3f2100c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5644e3efa4b5 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5644e3efffd0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5644e3efffd0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5644e3efffd0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5644e3effbb6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5644e3f00684 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5644e3f00160 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5644e3efea34 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5644e3f000c9 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5644e3e958f1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x5644e3e959e3 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x5644e3e9bc7d - core::result::Result::unwrap::hb9cf6eb5e188854a [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1295:23 [INFO] [stdout] 17: 0x5644e3e9d410 - Projet_Rust::images::Image::new_with_file::h96206f3c819aedcd [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:30:52 [INFO] [stdout] 18: 0x5644e3e9b792 - Projet_Rust::images::tests::bench_new_with_file::{{closure}}::h8403fa7d70f432ca [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:170:19 [INFO] [stdout] 19: 0x5644e3ea3bae - test::bench::ns_iter_inner::h4b524a2006444b78 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/bench.rs:117:19 [INFO] [stdout] 20: 0x5644e3ea423e - test::bench::Bencher::iter::hc202e55e424ece71 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/bench.rs:45:13 [INFO] [stdout] 21: 0x5644e3e9b76a - Projet_Rust::images::tests::bench_new_with_file::h88be7ac535f2d946 [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:170:9 [INFO] [stdout] 22: 0x5644e3e9b74e - Projet_Rust::images::tests::bench_new_with_file::{{closure}}::h0cec658a96dbadd3 [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:169:5 [INFO] [stdout] 23: 0x5644e3e999f8 - core::ops::function::FnOnce::call_once::h785520e896068b23 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x5644e3edbf89 - test::convert_benchmarks_to_tests::{{closure}}::{{closure}}::{{closure}}::{{closure}}::hedfd514504b28d09 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:451:73 [INFO] [stdout] 25: 0x5644e3edbf89 - test::__rust_begin_short_backtrace::h20ba524ee8c4305d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 26: 0x5644e3eaca92 - test::convert_benchmarks_to_tests::{{closure}}::{{closure}}::{{closure}}::hfee32a16014967a3 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:451:41 [INFO] [stdout] 27: 0x5644e3eaca92 - test::bench::Bencher::bench::hacc20aa32dfe73e7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/bench.rs:56:9 [INFO] [stdout] 28: 0x5644e3eaca92 - test::bench::run_once::h780d3ec56bbf7ec7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/bench.rs:241:5 [INFO] [stdout] 29: 0x5644e3eaca92 - test::convert_benchmarks_to_tests::{{closure}}::{{closure}}::ha7fa05d64daa0dc7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:451:21 [INFO] [stdout] 30: 0x5644e3eaca92 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h664fcefe1755d862 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 31: 0x5644e3edbf9e - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 32: 0x5644e3edbf9e - test::__rust_begin_short_backtrace::h64cec1405b7a031a [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 33: 0x5644e3edab77 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 34: 0x5644e3edab77 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 35: 0x5644e3edab77 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 36: 0x5644e3edab77 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 37: 0x5644e3edab77 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 38: 0x5644e3edab77 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 39: 0x5644e3edab77 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 40: 0x5644e3ea7cde - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 41: 0x5644e3ea7cde - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 42: 0x5644e3eacb08 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 43: 0x5644e3eacb08 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 44: 0x5644e3eacb08 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 45: 0x5644e3eacb08 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 46: 0x5644e3eacb08 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 47: 0x5644e3eacb08 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 48: 0x5644e3eacb08 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 49: 0x5644e3f05143 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 50: 0x5644e3f05143 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 51: 0x5644e3f05143 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 52: 0x7fe81c641609 - start_thread [INFO] [stdout] 53: 0x7fe81c413293 - clone [INFO] [stdout] 54: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- images::tests::image_header stdout ---- [INFO] [stdout] thread 'images::tests::image_header' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/images.rs:30:69 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5644e3efe57c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5644e3efe57c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5644e3efe57c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5644e3efe57c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5644e3f2100c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5644e3efa4b5 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5644e3efffd0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5644e3efffd0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5644e3efffd0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5644e3effbb6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5644e3f00684 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5644e3f00160 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5644e3efea34 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5644e3f000c9 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5644e3e958f1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x5644e3e959e3 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x5644e3e9bc7d - core::result::Result::unwrap::hb9cf6eb5e188854a [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1295:23 [INFO] [stdout] 17: 0x5644e3e9d410 - Projet_Rust::images::Image::new_with_file::h96206f3c819aedcd [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:30:52 [INFO] [stdout] 18: 0x5644e3e9b56d - Projet_Rust::images::tests::image_header::h98bcfcb1fca05560 [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:145:21 [INFO] [stdout] 19: 0x5644e3e9b53a - Projet_Rust::images::tests::image_header::{{closure}}::he08ef2c83a793919 [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:144:5 [INFO] [stdout] 20: 0x5644e3e999ae - core::ops::function::FnOnce::call_once::h11d35f480c5c2957 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5644e3edbfe3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5644e3edbfe3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x5644e3edab77 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x5644e3edab77 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5644e3edab77 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x5644e3edab77 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x5644e3edab77 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x5644e3edab77 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x5644e3edab77 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x5644e3ea7cde - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x5644e3ea7cde - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x5644e3eacb08 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x5644e3eacb08 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x5644e3eacb08 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x5644e3eacb08 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x5644e3eacb08 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x5644e3eacb08 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x5644e3eacb08 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5644e3f05143 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x5644e3f05143 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5644e3f05143 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7fe81c641609 - start_thread [INFO] [stdout] 43: 0x7fe81c413293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- images::tests::max_pixel stdout ---- [INFO] [stdout] thread 'images::tests::max_pixel' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/images.rs:30:69 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5644e3efe57c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5644e3efe57c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5644e3efe57c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5644e3efe57c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5644e3f2100c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5644e3efa4b5 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5644e3efffd0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5644e3efffd0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5644e3efffd0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5644e3effbb6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5644e3f00684 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5644e3f00160 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5644e3efea34 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5644e3f000c9 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5644e3e958f1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x5644e3e959e3 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x5644e3e9bc7d - core::result::Result::unwrap::hb9cf6eb5e188854a [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1295:23 [INFO] [stdout] 17: 0x5644e3e9d410 - Projet_Rust::images::Image::new_with_file::h96206f3c819aedcd [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:30:52 [INFO] [stdout] 18: 0x5644e3e9b66d - Projet_Rust::images::tests::max_pixel::h6d7bbbc2f3cbe6cb [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:163:21 [INFO] [stdout] 19: 0x5644e3e9b63a - Projet_Rust::images::tests::max_pixel::{{closure}}::hebcefd50c4a30e69 [INFO] [stdout] at /opt/rustwide/workdir/src/images.rs:162:5 [INFO] [stdout] 20: 0x5644e3e99a2e - core::ops::function::FnOnce::call_once::hb56c335222fb899e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5644e3edbfe3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5644e3edbfe3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x5644e3edab77 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x5644e3edab77 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5644e3edab77 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x5644e3edab77 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stderr] error: test failed, to rerun pass '--bin Projet_Rust' [INFO] [stdout] 27: 0x5644e3edab77 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x5644e3edab77 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x5644e3edab77 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x5644e3ea7cde - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x5644e3ea7cde - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x5644e3eacb08 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x5644e3eacb08 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x5644e3eacb08 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x5644e3eacb08 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x5644e3eacb08 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x5644e3eacb08 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x5644e3eacb08 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5644e3f05143 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x5644e3f05143 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5644e3f05143 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7fe81c641609 - start_thread [INFO] [stdout] 43: 0x7fe81c413293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] images::tests::bench_new_with_file [INFO] [stdout] images::tests::image_header [INFO] [stdout] images::tests::max_pixel [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1493312dcd92838ce621144380efffcf410e385dde18807e2bbf25890798f7de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1493312dcd92838ce621144380efffcf410e385dde18807e2bbf25890798f7de", kill_on_drop: false }` [INFO] [stdout] 1493312dcd92838ce621144380efffcf410e385dde18807e2bbf25890798f7de