[INFO] cloning repository https://github.com/matheo-1712/Initiation-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matheo-1712/Initiation-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheo-1712%2FInitiation-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheo-1712%2FInitiation-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1c40b5086a53bde7e0fc7de61a2d3203bad10ed [INFO] checking matheo-1712/Initiation-Rust against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatheo-1712%2FInitiation-Rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matheo-1712/Initiation-Rust [INFO] finished tweaking git repo https://github.com/matheo-1712/Initiation-Rust [INFO] tweaked toml for git repo https://github.com/matheo-1712/Initiation-Rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matheo-1712/Initiation-Rust on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matheo-1712/Initiation-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6082e306a849f52ce1ff1ccb32c956436ec8f5c5776fa0c16b2f8110591f8e33 [INFO] running `Command { std: "docker" "start" "-a" "6082e306a849f52ce1ff1ccb32c956436ec8f5c5776fa0c16b2f8110591f8e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6082e306a849f52ce1ff1ccb32c956436ec8f5c5776fa0c16b2f8110591f8e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6082e306a849f52ce1ff1ccb32c956436ec8f5c5776fa0c16b2f8110591f8e33", kill_on_drop: false }` [INFO] [stdout] 6082e306a849f52ce1ff1ccb32c956436ec8f5c5776fa0c16b2f8110591f8e33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c247a959e4025688501493b6e8ca977e240b3d8792f6f7f57db9b9c70dff7dc3 [INFO] running `Command { std: "docker" "start" "-a" "c247a959e4025688501493b6e8ca977e240b3d8792f6f7f57db9b9c70dff7dc3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking Initiation_Rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/initiation/possession.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / /** Interdit en rust [INFO] [stdout] 9 | | let s1 = String::from("hello"); [INFO] [stdout] 10 | | let s2 = s1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | **/ [INFO] [stdout] | |_______^ [INFO] [stdout] 14 | // Bonne pratique : [INFO] [stdout] 15 | let s1 = String::from("hello"); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/initiation/possession.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / /** Interdit en rust [INFO] [stdout] 9 | | let s1 = String::from("hello"); [INFO] [stdout] 10 | | let s2 = s1; [INFO] [stdout] ... | [INFO] [stdout] 13 | | **/ [INFO] [stdout] | |_______^ [INFO] [stdout] 14 | // Bonne pratique : [INFO] [stdout] 15 | let s1 = String::from("hello"); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/initiation/possession.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let s1 = donne_possession(); // donne_possession déplace sa valeur de [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> src/initiation/possession.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let s1 = donne_possession(); // donne_possession déplace sa valeur de [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> src/initiation/enumerations.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let local = AdresseIp { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> src/initiation/enumerations.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let local = AdresseIp { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rebouclage` [INFO] [stdout] --> src/initiation/enumerations.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let rebouclage = AdresseIp { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rebouclage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rebouclage` [INFO] [stdout] --> src/initiation/enumerations.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let rebouclage = AdresseIp { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rebouclage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TROIS_HEURES_EN_SECONDES` is never used [INFO] [stdout] --> src/initiation/variables.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | const TROIS_HEURES_EN_SECONDES: u32 = 60 * 60 * 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sorte` and `adresse` are never read [INFO] [stdout] --> src/initiation/enumerations.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | struct AdresseIp { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | sorte: SorteAdresseIp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | adresse: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TROIS_HEURES_EN_SECONDES` is never used [INFO] [stdout] --> src/initiation/variables.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | const TROIS_HEURES_EN_SECONDES: u32 = 60 * 60 * 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sorte` and `adresse` are never read [INFO] [stdout] --> src/initiation/enumerations.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | struct AdresseIp { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 8 | sorte: SorteAdresseIp, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | adresse: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "c247a959e4025688501493b6e8ca977e240b3d8792f6f7f57db9b9c70dff7dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c247a959e4025688501493b6e8ca977e240b3d8792f6f7f57db9b9c70dff7dc3", kill_on_drop: false }` [INFO] [stdout] c247a959e4025688501493b6e8ca977e240b3d8792f6f7f57db9b9c70dff7dc3