[INFO] cloning repository https://github.com/noreflection/project-handler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noreflection/project-handler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoreflection%2Fproject-handler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoreflection%2Fproject-handler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50b7f03eb4824609c66d348651dfe6c7d88a6566 [INFO] checking noreflection/project-handler against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoreflection%2Fproject-handler" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noreflection/project-handler on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/noreflection/project-handler [INFO] finished tweaking git repo https://github.com/noreflection/project-handler [INFO] tweaked toml for git repo https://github.com/noreflection/project-handler written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/noreflection/project-handler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: repositories [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61c1031eccbbdd5efb4ba147e8c8526c0b1b5094bce1799564625100d1b61990 [INFO] running `Command { std: "docker" "start" "-a" "61c1031eccbbdd5efb4ba147e8c8526c0b1b5094bce1799564625100d1b61990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61c1031eccbbdd5efb4ba147e8c8526c0b1b5094bce1799564625100d1b61990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c1031eccbbdd5efb4ba147e8c8526c0b1b5094bce1799564625100d1b61990", kill_on_drop: false }` [INFO] [stdout] 61c1031eccbbdd5efb4ba147e8c8526c0b1b5094bce1799564625100d1b61990 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e03af5d6b04f5fbfed195084435a034787de02ec64d97f42dc0bd917110d3bd [INFO] running `Command { std: "docker" "start" "-a" "6e03af5d6b04f5fbfed195084435a034787de02ec64d97f42dc0bd917110d3bd", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: repositories [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.18 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.21+1.1.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking git2 v0.13.20 [INFO] [stderr] Checking updater v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::npm_handler::NpmHandler` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npm_handler::NpmHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/npm_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::npm_handler::NpmHandler` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::npm_handler::NpmHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/npm_handler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dotnet_path` [INFO] [stdout] --> src/dotnet_handler.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let dotnet_path = "C:\\Program Files\\dotnet\\"; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dotnet_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dotnet_path` [INFO] [stdout] --> src/dotnet_handler.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let dotnet_path = "C:\\Program Files\\dotnet\\"; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dotnet_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/dotnet_handler.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let node = process::Command::new("dotnet") [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_toml` [INFO] [stdout] --> src/config.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn test_toml() -> Config { [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: `create_api_project_in_folder` [INFO] [stdout] --> src/dotnet_handler.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_api_project_in_folder(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ef_database_update` [INFO] [stdout] --> src/dotnet_handler.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn ef_database_update(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NPM` [INFO] [stdout] --> src/npm_handler.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const NPM: &'static str = "npm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NpmHandler` [INFO] [stdout] --> src/npm_handler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NpmHandler { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `npm_init_with_defaults` [INFO] [stdout] --> src/npm_handler.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn npm_init_with_defaults(&self) { //check Repository kind: should apply only on kind:dotnet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_toml` [INFO] [stdout] --> src/config.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn test_toml() -> Config { [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: `create_api_project_in_folder` [INFO] [stdout] --> src/dotnet_handler.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_api_project_in_folder(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ef_database_update` [INFO] [stdout] --> src/dotnet_handler.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn ef_database_update(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NPM` [INFO] [stdout] --> src/npm_handler.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const NPM: &'static str = "npm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NpmHandler` [INFO] [stdout] --> src/npm_handler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NpmHandler { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `npm_init_with_defaults` [INFO] [stdout] --> src/npm_handler.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn npm_init_with_defaults(&self) { //check Repository kind: should apply only on kind:dotnet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.53s [INFO] running `Command { std: "docker" "inspect" "6e03af5d6b04f5fbfed195084435a034787de02ec64d97f42dc0bd917110d3bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e03af5d6b04f5fbfed195084435a034787de02ec64d97f42dc0bd917110d3bd", kill_on_drop: false }` [INFO] [stdout] 6e03af5d6b04f5fbfed195084435a034787de02ec64d97f42dc0bd917110d3bd