[INFO] cloning repository https://github.com/elegacorp/elega_core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elegacorp/elega_core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegacorp%2Felega_core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegacorp%2Felega_core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f00ded719eb2db0d2854aae1e0055b95fdcb8ae6 [INFO] checking elegacorp/elega_core against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegacorp%2Felega_core" "/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/elegacorp/elega_core on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elegacorp/elega_core [INFO] finished tweaking git repo https://github.com/elegacorp/elega_core [INFO] tweaked toml for git repo https://github.com/elegacorp/elega_core written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/elegacorp/elega_core already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 780ea561294c8c891b361c1cfe630b8438e6c0aa5478acffd99b0c22c8f93c8e [INFO] running `Command { std: "docker" "start" "-a" "780ea561294c8c891b361c1cfe630b8438e6c0aa5478acffd99b0c22c8f93c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "780ea561294c8c891b361c1cfe630b8438e6c0aa5478acffd99b0c22c8f93c8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780ea561294c8c891b361c1cfe630b8438e6c0aa5478acffd99b0c22c8f93c8e", kill_on_drop: false }` [INFO] [stdout] 780ea561294c8c891b361c1cfe630b8438e6c0aa5478acffd99b0c22c8f93c8e [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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 839043d5fc61c373d80974688d2341ee423b3daa0d53d217e781131cfed20d6e [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" "839043d5fc61c373d80974688d2341ee423b3daa0d53d217e781131cfed20d6e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking elega_core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/common.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir as current_directory` [INFO] [stdout] --> src/common.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::env::current_dir as current_directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / macro_rules! string_merge { [INFO] [stdout] 40 | | ($e:expr, String) => { [INFO] [stdout] 41 | | let string_message: &String = &$e; [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/common.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::current_dir as current_directory` [INFO] [stdout] --> src/common.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::env::current_dir as current_directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / macro_rules! string_merge { [INFO] [stdout] 40 | | ($e:expr, String) => { [INFO] [stdout] 41 | | let string_message: &String = &$e; [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_HEAPBLOCK_SIZE` [INFO] [stdout] --> src/common.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const DEFAULT_HEAPBLOCK_SIZE: usize = 40960000; // 40.96MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_error` [INFO] [stdout] --> src/common.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn log_error(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_verbose` [INFO] [stdout] --> src/common.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn log_verbose(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HeapStorageBlock` [INFO] [stdout] --> src/common.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct HeapStorageBlock [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/common.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn new() -> HeapStorageBlock [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bump` [INFO] [stdout] --> src/common.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | fn bump(&mut self) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte` [INFO] [stdout] --> src/common.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn add_byte(&mut self, data_being_added: u8) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte_vec` [INFO] [stdout] --> src/common.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn add_byte_vec(&mut self, data_being_added: Vec) -> usize [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte` [INFO] [stdout] --> src/common.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn add_byte(&mut self, data_being_added: &u8) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_HEAPBLOCK_SIZE` [INFO] [stdout] --> src/common.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const DEFAULT_HEAPBLOCK_SIZE: usize = 40960000; // 40.96MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_error` [INFO] [stdout] --> src/common.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn log_error(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_verbose` [INFO] [stdout] --> src/common.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn log_verbose(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HeapStorageBlock` [INFO] [stdout] --> src/common.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct HeapStorageBlock [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/common.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn new() -> HeapStorageBlock [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bump` [INFO] [stdout] --> src/common.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | fn bump(&mut self) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte` [INFO] [stdout] --> src/common.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn add_byte(&mut self, data_being_added: u8) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte_vec` [INFO] [stdout] --> src/common.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn add_byte_vec(&mut self, data_being_added: Vec) -> usize [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_byte` [INFO] [stdout] --> src/common.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn add_byte(&mut self, data_being_added: &u8) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/common.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | filesystem::write(&self.file_path, log_file_content); [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: unused `Result` that must be used [INFO] [stdout] --> src/common.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | filesystem::write(&self.file_path, log_file_content); [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.49s [INFO] running `Command { std: "docker" "inspect" "839043d5fc61c373d80974688d2341ee423b3daa0d53d217e781131cfed20d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839043d5fc61c373d80974688d2341ee423b3daa0d53d217e781131cfed20d6e", kill_on_drop: false }` [INFO] [stdout] 839043d5fc61c373d80974688d2341ee423b3daa0d53d217e781131cfed20d6e