[INFO] cloning repository https://github.com/xNxExOx/local-encoding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xNxExOx/local-encoding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxNxExOx%2Flocal-encoding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxNxExOx%2Flocal-encoding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74134fe25ef302a1fa0e4b9cdaaf514345c856a3 [INFO] checking xNxExOx/local-encoding/74134fe25ef302a1fa0e4b9cdaaf514345c856a3 against master#1280928a99ad3ef2c5735b42dc8852456ae3b974 for pr-120798 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FxNxExOx%2Flocal-encoding" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xNxExOx/local-encoding on toolchain 1280928a99ad3ef2c5735b42dc8852456ae3b974 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xNxExOx/local-encoding [INFO] finished tweaking git repo https://github.com/xNxExOx/local-encoding [INFO] tweaked toml for git repo https://github.com/xNxExOx/local-encoding written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xNxExOx/local-encoding 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" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d08e2c5675d39820882bfddb7380ee6ae3cb090a9755cddf7d4c7c6c3614e1da [INFO] running `Command { std: "docker" "start" "-a" "d08e2c5675d39820882bfddb7380ee6ae3cb090a9755cddf7d4c7c6c3614e1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d08e2c5675d39820882bfddb7380ee6ae3cb090a9755cddf7d4c7c6c3614e1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d08e2c5675d39820882bfddb7380ee6ae3cb090a9755cddf7d4c7c6c3614e1da", kill_on_drop: false }` [INFO] [stdout] d08e2c5675d39820882bfddb7380ee6ae3cb090a9755cddf7d4c7c6c3614e1da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1280928a99ad3ef2c5735b42dc8852456ae3b974" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ba9885d66fdd8ad60e11609555452b4db11f74d593a06e1d51ca7d6810a26e3 [INFO] running `Command { std: "docker" "start" "-a" "4ba9885d66fdd8ad60e11609555452b4db11f74d593a06e1d51ca7d6810a26e3", kill_on_drop: false }` [INFO] [stderr] Checking local-encoding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `CP_ACP` is never used [INFO] [stdout] --> src/winapi.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const CP_ACP: DWORD = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CP_OEMCP` is never used [INFO] [stdout] --> src/winapi.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const CP_OEMCP: DWORD = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CHAR` is never used [INFO] [stdout] --> src/winapi.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type CHAR = i8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPSTR` is never used [INFO] [stdout] --> src/winapi.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type LPSTR = *mut CHAR; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPCSTR` is never used [INFO] [stdout] --> src/winapi.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type LPCSTR = *const CHAR; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WCHAR` is never used [INFO] [stdout] --> src/winapi.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type WCHAR = u16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPWSTR` is never used [INFO] [stdout] --> src/winapi.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type LPWSTR = *mut WCHAR; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPCWSTR` is never used [INFO] [stdout] --> src/winapi.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type LPCWSTR = *const WCHAR; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BOOL` is never used [INFO] [stdout] --> src/winapi.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type BOOL = i32; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPBOOL` is never used [INFO] [stdout] --> src/winapi.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type LPBOOL = *mut BOOL; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UINT` is never used [INFO] [stdout] --> src/winapi.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type UINT = u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MultiByteToWideChar` is never used [INFO] [stdout] --> src/winapi.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn MultiByteToWideChar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `WideCharToMultiByte` is never used [INFO] [stdout] --> src/winapi.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn WideCharToMultiByte( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CP_ACP` is never used [INFO] [stdout] --> src/winapi.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const CP_ACP: DWORD = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CP_OEMCP` is never used [INFO] [stdout] --> src/winapi.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const CP_OEMCP: DWORD = 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CHAR` is never used [INFO] [stdout] --> src/winapi.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type CHAR = i8; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPSTR` is never used [INFO] [stdout] --> src/winapi.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type LPSTR = *mut CHAR; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPCSTR` is never used [INFO] [stdout] --> src/winapi.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type LPCSTR = *const CHAR; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `WCHAR` is never used [INFO] [stdout] --> src/winapi.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type WCHAR = u16; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPWSTR` is never used [INFO] [stdout] --> src/winapi.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type LPWSTR = *mut WCHAR; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPCWSTR` is never used [INFO] [stdout] --> src/winapi.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type LPCWSTR = *const WCHAR; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BOOL` is never used [INFO] [stdout] --> src/winapi.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type BOOL = i32; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LPBOOL` is never used [INFO] [stdout] --> src/winapi.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type LPBOOL = *mut BOOL; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `UINT` is never used [INFO] [stdout] --> src/winapi.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type UINT = u32; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MultiByteToWideChar` is never used [INFO] [stdout] --> src/winapi.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn MultiByteToWideChar( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `WideCharToMultiByte` is never used [INFO] [stdout] --> src/winapi.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn WideCharToMultiByte( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] running `Command { std: "docker" "inspect" "4ba9885d66fdd8ad60e11609555452b4db11f74d593a06e1d51ca7d6810a26e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba9885d66fdd8ad60e11609555452b4db11f74d593a06e1d51ca7d6810a26e3", kill_on_drop: false }` [INFO] [stdout] 4ba9885d66fdd8ad60e11609555452b4db11f74d593a06e1d51ca7d6810a26e3