[INFO] cloning repository https://github.com/S3cBar0n/Rust_Test_File [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S3cBar0n/Rust_Test_File" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS3cBar0n%2FRust_Test_File", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS3cBar0n%2FRust_Test_File'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 306ea78bee3ec4e8c94a532ff9781e3de471df1b [INFO] checking S3cBar0n/Rust_Test_File against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS3cBar0n%2FRust_Test_File" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S3cBar0n/Rust_Test_File on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S3cBar0n/Rust_Test_File [INFO] finished tweaking git repo https://github.com/S3cBar0n/Rust_Test_File [INFO] tweaked toml for git repo https://github.com/S3cBar0n/Rust_Test_File written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/S3cBar0n/Rust_Test_File already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2f4855cd4c7ac6a6bad67a1ad1f1b33dbcafe37dfff3dcc9154d1c9c7bd5837 [INFO] running `Command { std: "docker" "start" "-a" "e2f4855cd4c7ac6a6bad67a1ad1f1b33dbcafe37dfff3dcc9154d1c9c7bd5837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2f4855cd4c7ac6a6bad67a1ad1f1b33dbcafe37dfff3dcc9154d1c9c7bd5837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f4855cd4c7ac6a6bad67a1ad1f1b33dbcafe37dfff3dcc9154d1c9c7bd5837", kill_on_drop: false }` [INFO] [stdout] e2f4855cd4c7ac6a6bad67a1ad1f1b33dbcafe37dfff3dcc9154d1c9c7bd5837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c96dc84c4e19305c3409e7fcd9a5fea9beca45b3cbfda0d8acb364270add40a [INFO] running `Command { std: "docker" "start" "-a" "5c96dc84c4e19305c3409e7fcd9a5fea9beca45b3cbfda0d8acb364270add40a", kill_on_drop: false }` [INFO] [stderr] Checking untitled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rust_operators::operators` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_operators::operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/control_flow.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | 1...249 => "Unknown", // 1..99 = 1 - 98, 1...99 = 1 - 99 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_operators::operators` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_operators::operators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/control_flow.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | 1...249 => "Unknown", // 1..99 = 1 - 98, 1...99 = 1 - 99 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CONSTANT_VALUE` [INFO] [stdout] --> src/rust_data_types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CONSTANT_VALUE:u8 = 42; // This has no fixed address, memory safety is not compromised. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `Z` [INFO] [stdout] --> src/rust_data_types.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static Z:i32 = 123; // This does have a fixed address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `Z_MUTABLE` [INFO] [stdout] --> src/rust_data_types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | static mut Z_MUTABLE:i32 = 999; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `data_types` [INFO] [stdout] --> src/rust_data_types.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn data_types() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scope_and_shadowing` [INFO] [stdout] --> src/rust_data_types.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn scope_and_shadowing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scope_of_variables` [INFO] [stdout] --> src/rust_data_types.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn scope_of_variables() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constants` [INFO] [stdout] --> src/rust_data_types.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn constants() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operators` [INFO] [stdout] --> src/rust_operators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn operators() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/memory_management.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `memory_management` [INFO] [stdout] --> src/memory_management.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn memory_management() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `origin` [INFO] [stdout] --> src/memory_management.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn origin() -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_and_heap` [INFO] [stdout] --> src/memory_management.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn stack_and_heap() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_statement` [INFO] [stdout] --> src/control_flow.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn if_statement() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_and_loop` [INFO] [stdout] --> src/control_flow.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn while_and_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/control_flow.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn for_loop() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CONSTANT_VALUE` [INFO] [stdout] --> src/rust_data_types.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const CONSTANT_VALUE:u8 = 42; // This has no fixed address, memory safety is not compromised. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `Z` [INFO] [stdout] --> src/rust_data_types.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static Z:i32 = 123; // This does have a fixed address [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `Z_MUTABLE` [INFO] [stdout] --> src/rust_data_types.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | static mut Z_MUTABLE:i32 = 999; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `data_types` [INFO] [stdout] --> src/rust_data_types.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn data_types() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scope_and_shadowing` [INFO] [stdout] --> src/rust_data_types.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn scope_and_shadowing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scope_of_variables` [INFO] [stdout] --> src/rust_data_types.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn scope_of_variables() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `constants` [INFO] [stdout] --> src/rust_data_types.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn constants() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `operators` [INFO] [stdout] --> src/rust_operators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn operators() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Point` [INFO] [stdout] --> src/memory_management.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `memory_management` [INFO] [stdout] --> src/memory_management.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn memory_management() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `origin` [INFO] [stdout] --> src/memory_management.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn origin() -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_and_heap` [INFO] [stdout] --> src/memory_management.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn stack_and_heap() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_statement` [INFO] [stdout] --> src/control_flow.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn if_statement() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_and_loop` [INFO] [stdout] --> src/control_flow.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn while_and_loop() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_loop` [INFO] [stdout] --> src/control_flow.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn for_loop() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "5c96dc84c4e19305c3409e7fcd9a5fea9beca45b3cbfda0d8acb364270add40a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c96dc84c4e19305c3409e7fcd9a5fea9beca45b3cbfda0d8acb364270add40a", kill_on_drop: false }` [INFO] [stdout] 5c96dc84c4e19305c3409e7fcd9a5fea9beca45b3cbfda0d8acb364270add40a