[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] bf0907ebaf0aca0c0802586b8ff8085eef438293 [INFO] checking elegacorp/elega_core against try#bf5ff6675cf10ce009ac02007b064a7cfc4509ac for pr-140558 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegacorp%2Felega_core" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elegacorp/elega_core on toolchain bf5ff6675cf10ce009ac02007b064a7cfc4509ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 770efaaa2e86758ca1112385589a7a1092c3403199f12dc600437cd884ca3ba6 [INFO] running `Command { std: "docker" "start" "-a" "770efaaa2e86758ca1112385589a7a1092c3403199f12dc600437cd884ca3ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "770efaaa2e86758ca1112385589a7a1092c3403199f12dc600437cd884ca3ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770efaaa2e86758ca1112385589a7a1092c3403199f12dc600437cd884ca3ba6", kill_on_drop: false }` [INFO] [stdout] 770efaaa2e86758ca1112385589a7a1092c3403199f12dc600437cd884ca3ba6 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+bf5ff6675cf10ce009ac02007b064a7cfc4509ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6534bcc0a032324925e9903e2fa43d207e85d9f0ab46ec21b0a310856b03f833 [INFO] running `Command { std: "docker" "start" "-a" "6534bcc0a032324925e9903e2fa43d207e85d9f0ab46ec21b0a310856b03f833", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling 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:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::env::current_dir as current_directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `string_merge` [INFO] [stdout] --> src/common.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | macro_rules! string_merge { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [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:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::env::current_dir as current_directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `string_merge` [INFO] [stdout] --> src/common.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | macro_rules! string_merge { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_directory_create_init` [INFO] [stdout] --> src/main.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | let project_directory_create_init = file_system::create_dir(project_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_directory_create_init` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_directory_create_init` [INFO] [stdout] --> src/main.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | let project_directory_create_init = file_system::create_dir(project_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_directory_create_init` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_HEAPBLOCK_SIZE` is never used [INFO] [stdout] --> src/common.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | 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: methods `log_error` and `log_verbose` are never used [INFO] [stdout] --> src/common.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 98 | impl Logger [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn log_error(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn log_verbose(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeapStorageBlock` is never constructed [INFO] [stdout] --> src/common.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct HeapStorageBlock [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `bump`, `add_byte`, and `add_byte_vec` are never used [INFO] [stdout] --> src/common.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 186 | impl HeapStorageBlock [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 187 | { [INFO] [stdout] 188 | pub fn new() -> HeapStorageBlock [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn bump(&mut self) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn add_byte(&mut self, data_being_added: &u8) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn add_byte_vec(&mut self, data_being_added: &Vec) -> usize [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/common.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct Allocator [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 231 | pub data: [u8; DEFAULT_ALLOCATOR_SIZE], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_byte` is never used [INFO] [stdout] --> src/common.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 242 | impl TemporaryStorage [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn add_byte(&mut self, data_being_added: &u8) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_HEAPBLOCK_SIZE` is never used [INFO] [stdout] --> src/common.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | 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: methods `log_error` and `log_verbose` are never used [INFO] [stdout] --> src/common.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 98 | impl Logger [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn log_error(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn log_verbose(&mut self, message: &str) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeapStorageBlock` is never constructed [INFO] [stdout] --> src/common.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct HeapStorageBlock [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `bump`, `add_byte`, and `add_byte_vec` are never used [INFO] [stdout] --> src/common.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 186 | impl HeapStorageBlock [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 187 | { [INFO] [stdout] 188 | pub fn new() -> HeapStorageBlock [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn bump(&mut self) [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn add_byte(&mut self, data_being_added: &u8) -> usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn add_byte_vec(&mut self, data_being_added: &Vec) -> usize [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/common.rs:231:6 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct Allocator [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 231 | pub data: [u8; DEFAULT_ALLOCATOR_SIZE], [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_byte` is never used [INFO] [stdout] --> src/common.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 242 | impl TemporaryStorage [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | 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/main.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | file_system::copy(path_as_string, copy_to_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = file_system::copy(path_as_string, copy_to_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/common.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | filesystem::write(&self.file_path, log_file_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = filesystem::write(&self.file_path, log_file_content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | file_system::copy(path_as_string, copy_to_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = file_system::copy(path_as_string, copy_to_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/common.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | filesystem::write(&self.file_path, log_file_content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = filesystem::write(&self.file_path, log_file_content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "6534bcc0a032324925e9903e2fa43d207e85d9f0ab46ec21b0a310856b03f833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6534bcc0a032324925e9903e2fa43d207e85d9f0ab46ec21b0a310856b03f833", kill_on_drop: false }` [INFO] [stdout] 6534bcc0a032324925e9903e2fa43d207e85d9f0ab46ec21b0a310856b03f833