[INFO] cloning repository https://github.com/liangzhaoyuan12/ncmdump-script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liangzhaoyuan12/ncmdump-script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliangzhaoyuan12%2Fncmdump-script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliangzhaoyuan12%2Fncmdump-script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e924096661f133b9d0c1a0042f512e5e158011a [INFO] checking liangzhaoyuan12/ncmdump-script against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliangzhaoyuan12%2Fncmdump-script" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/liangzhaoyuan12/ncmdump-script [INFO] finished tweaking git repo https://github.com/liangzhaoyuan12/ncmdump-script [INFO] tweaked toml for git repo https://github.com/liangzhaoyuan12/ncmdump-script written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liangzhaoyuan12/ncmdump-script on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/liangzhaoyuan12/ncmdump-script 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8a21cc5e2442b0594c530ea127a4822c2e0893667ef6cba6a148d6f82f0f48e [INFO] running `Command { std: "docker" "start" "-a" "f8a21cc5e2442b0594c530ea127a4822c2e0893667ef6cba6a148d6f82f0f48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8a21cc5e2442b0594c530ea127a4822c2e0893667ef6cba6a148d6f82f0f48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a21cc5e2442b0594c530ea127a4822c2e0893667ef6cba6a148d6f82f0f48e", kill_on_drop: false }` [INFO] [stdout] f8a21cc5e2442b0594c530ea127a4822c2e0893667ef6cba6a148d6f82f0f48e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed5361d957c8cca94f83260a7028788490503b347c7f118a86950f2dda2cf670 [INFO] running `Command { std: "docker" "start" "-a" "ed5361d957c8cca94f83260a7028788490503b347c7f118a86950f2dda2cf670", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking env_home v0.1.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking formatx v0.2.3 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking which v7.0.3 [INFO] [stderr] Checking versions v7.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking native-dialog v0.9.0 [INFO] [stderr] Checking ncm_dump v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command`, `alloc::System`, and `self` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{alloc::System, process::{Command,self,exit}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use json; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/file_dump.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{path::{Path, PathBuf}, process}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/file_dump.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use include_dir::{include_dir, Dir, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/file_dump.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let output=output.output()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LIB_DIR` is never used [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | static LIB_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/lib"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LIB_DIR` is never used [INFO] [stdout] --> src/file_dump.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static LIB_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/lib"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createConfigFile` should have a snake case name [INFO] [stdout] --> src/config_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn createConfigFile() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_config_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeConfigFile` should have a snake case name [INFO] [stdout] --> src/config_io.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writeConfigFile(safePath: String) -> Result<(),std::string::String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_config_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safePath` should have a snake case name [INFO] [stdout] --> src/config_io.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writeConfigFile(safePath: String) -> Result<(),std::string::String> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `safe_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safePath` should have a snake case name [INFO] [stdout] --> src/config_io.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let safePath = Rc::new(safePath); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `safe_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkConfigFile` should have a snake case name [INFO] [stdout] --> src/config_io.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn checkConfigFile() ->Result<(),()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_config_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/config_io.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | drop(path); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 58 - drop(path); [INFO] [stdout] 58 + let _ = path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getConfigMap` should have a snake case name [INFO] [stdout] --> src/config_io.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn getConfigMap() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_config_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `alloc::System`, and `self` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{alloc::System, process::{Command,self,exit}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use json; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/file_dump.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{path::{Path, PathBuf}, process}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/file_dump.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use include_dir::{include_dir, Dir, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/file_dump.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let output=output.output()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LIB_DIR` is never used [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | static LIB_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/lib"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LIB_DIR` is never used [INFO] [stdout] --> src/file_dump.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static LIB_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/lib"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createConfigFile` should have a snake case name [INFO] [stdout] --> src/config_io.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn createConfigFile() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_config_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writeConfigFile` should have a snake case name [INFO] [stdout] --> src/config_io.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writeConfigFile(safePath: String) -> Result<(),std::string::String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_config_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safePath` should have a snake case name [INFO] [stdout] --> src/config_io.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writeConfigFile(safePath: String) -> Result<(),std::string::String> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `safe_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `safePath` should have a snake case name [INFO] [stdout] --> src/config_io.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let safePath = Rc::new(safePath); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `safe_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.50s [INFO] [stdout] warning: function `checkConfigFile` should have a snake case name [INFO] [stdout] --> src/config_io.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn checkConfigFile() ->Result<(),()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_config_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/config_io.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | drop(path); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&Path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 58 - drop(path); [INFO] [stdout] 58 + let _ = path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getConfigMap` should have a snake case name [INFO] [stdout] --> src/config_io.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn getConfigMap() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_config_map` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ed5361d957c8cca94f83260a7028788490503b347c7f118a86950f2dda2cf670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5361d957c8cca94f83260a7028788490503b347c7f118a86950f2dda2cf670", kill_on_drop: false }` [INFO] [stdout] ed5361d957c8cca94f83260a7028788490503b347c7f118a86950f2dda2cf670