[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#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS3cBar0n%2FRust_Test_File" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S3cBar0n/Rust_Test_File on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-1/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a844b8e819aac18b436016321e36ed43fc73830a50ff93963467d6ba37a1e4af [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a844b8e819aac18b436016321e36ed43fc73830a50ff93963467d6ba37a1e4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a844b8e819aac18b436016321e36ed43fc73830a50ff93963467d6ba37a1e4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a844b8e819aac18b436016321e36ed43fc73830a50ff93963467d6ba37a1e4af", kill_on_drop: false }` [INFO] [stdout] a844b8e819aac18b436016321e36ed43fc73830a50ff93963467d6ba37a1e4af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08b2434c4adbba02043d641745a84a1d696d2cff360fe8c79cbc3d931916871b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "08b2434c4adbba02043d641745a84a1d696d2cff360fe8c79cbc3d931916871b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 1.17s [INFO] running `Command { std: "docker" "inspect" "08b2434c4adbba02043d641745a84a1d696d2cff360fe8c79cbc3d931916871b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b2434c4adbba02043d641745a84a1d696d2cff360fe8c79cbc3d931916871b", kill_on_drop: false }` [INFO] [stdout] 08b2434c4adbba02043d641745a84a1d696d2cff360fe8c79cbc3d931916871b