[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 master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegacorp%2Felega_core" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elegacorp/elega_core on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-tc1/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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e45b7b821bebd884cd4b045f38394a940ecd72fc857be06be7f85a5bc9e10f8 [INFO] running `Command { std: "docker" "start" "-a" "2e45b7b821bebd884cd4b045f38394a940ecd72fc857be06be7f85a5bc9e10f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e45b7b821bebd884cd4b045f38394a940ecd72fc857be06be7f85a5bc9e10f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e45b7b821bebd884cd4b045f38394a940ecd72fc857be06be7f85a5bc9e10f8", kill_on_drop: false }` [INFO] [stdout] 2e45b7b821bebd884cd4b045f38394a940ecd72fc857be06be7f85a5bc9e10f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cecef95e2f8ad30f9ed4e74163b6fa282a484e226fdc898ec66f23cc94c5156 [INFO] running `Command { std: "docker" "start" "-a" "8cecef95e2f8ad30f9ed4e74163b6fa282a484e226fdc898ec66f23cc94c5156", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.92 [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: 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] = note: `#[warn(dead_code)]` on by default [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] = note: `#[warn(dead_code)]` on by default [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/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/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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "8cecef95e2f8ad30f9ed4e74163b6fa282a484e226fdc898ec66f23cc94c5156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cecef95e2f8ad30f9ed4e74163b6fa282a484e226fdc898ec66f23cc94c5156", kill_on_drop: false }` [INFO] [stdout] 8cecef95e2f8ad30f9ed4e74163b6fa282a484e226fdc898ec66f23cc94c5156