[INFO] cloning repository https://github.com/tanukimaru0090/c-encode-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanukimaru0090/c-encode-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanukimaru0090%2Fc-encode-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanukimaru0090%2Fc-encode-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23e5e3189fb2db18c8fa852b28d598c75d55340d [INFO] testing tanukimaru0090/c-encode-rs against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanukimaru0090%2Fc-encode-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tanukimaru0090/c-encode-rs [INFO] finished tweaking git repo https://github.com/tanukimaru0090/c-encode-rs [INFO] tweaked toml for git repo https://github.com/tanukimaru0090/c-encode-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanukimaru0090/c-encode-rs on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tanukimaru0090/c-encode-rs 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing tanukimaru0090/c-encode-rs against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanukimaru0090%2Fc-encode-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tanukimaru0090/c-encode-rs [INFO] finished tweaking git repo https://github.com/tanukimaru0090/c-encode-rs [INFO] tweaked toml for git repo https://github.com/tanukimaru0090/c-encode-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanukimaru0090/c-encode-rs on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tanukimaru0090/c-encode-rs 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 421baf993471232e4c60b2fba1f56bf7339a7c3f08bf9fea2302cb96d8fbdeb4 [INFO] running `Command { std: "docker" "start" "-a" "421baf993471232e4c60b2fba1f56bf7339a7c3f08bf9fea2302cb96d8fbdeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "421baf993471232e4c60b2fba1f56bf7339a7c3f08bf9fea2302cb96d8fbdeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421baf993471232e4c60b2fba1f56bf7339a7c3f08bf9fea2302cb96d8fbdeb4", kill_on_drop: false }` [INFO] [stdout] 421baf993471232e4c60b2fba1f56bf7339a7c3f08bf9fea2302cb96d8fbdeb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6f7ef774a729c227ac87cea1a2d79d414bfe4025fee9baba42269f45910993 [INFO] running `Command { std: "docker" "start" "-a" "5b6f7ef774a729c227ac87cea1a2d79d414bfe4025fee9baba42269f45910993", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling widestring v1.1.0 [INFO] [stderr] Compiling c-encode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `U16String` and `U32String` [INFO] [stdout] --> src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use widestring::{U16String,U32String,U16CString,U32CString}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let (res, _enc, errors) = SHIFT_JIS.encode(self); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lib.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let (res, _enc, errors) = SHIFT_JIS.encode(self); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "5b6f7ef774a729c227ac87cea1a2d79d414bfe4025fee9baba42269f45910993", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6f7ef774a729c227ac87cea1a2d79d414bfe4025fee9baba42269f45910993", kill_on_drop: false }` [INFO] [stdout] 5b6f7ef774a729c227ac87cea1a2d79d414bfe4025fee9baba42269f45910993 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db4f897ee03aa0165ff9fe795aaaeb5d08fc9af6592587189ec2e881fb36335 [INFO] running `Command { std: "docker" "start" "-a" "2db4f897ee03aa0165ff9fe795aaaeb5d08fc9af6592587189ec2e881fb36335", kill_on_drop: false }` [INFO] [stderr] Compiling c-encode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `U16String` and `U32String` [INFO] [stdout] --> src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use widestring::{U16String,U32String,U16CString,U32CString}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let (res, _enc, errors) = SHIFT_JIS.encode(self); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lib.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let (res, _enc, errors) = SHIFT_JIS.encode(self); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | use winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `U16String` and `U32String` [INFO] [stdout] --> src/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use widestring::{U16String,U32String,U16CString,U32CString}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_char` [INFO] [stdout] --> src/lib.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use libc::c_char; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::c_int` [INFO] [stdout] --> src/lib.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | use libc::c_int; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::fclose` [INFO] [stdout] --> src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use libc::fclose; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::fgetc` [INFO] [stdout] --> src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use libc::fgetc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::fopen` [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use libc::fopen; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::EOF` [INFO] [stdout] --> src/lib.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use libc::EOF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::FILE` [INFO] [stdout] --> src/lib.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use libc::FILE; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `widestring::*` [INFO] [stdout] --> src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | use widestring::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MessageBoxW` in this scope [INFO] [stdout] --> src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | MessageBoxW(null_mut(),title.as_ptr(),content.as_ptr(),0); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | let (res, _enc, errors) = SHIFT_JIS.encode(self); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/lib.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let (res, _enc, errors) = SHIFT_JIS.encode(self); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `c-encode` (lib test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2db4f897ee03aa0165ff9fe795aaaeb5d08fc9af6592587189ec2e881fb36335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db4f897ee03aa0165ff9fe795aaaeb5d08fc9af6592587189ec2e881fb36335", kill_on_drop: false }` [INFO] [stdout] 2db4f897ee03aa0165ff9fe795aaaeb5d08fc9af6592587189ec2e881fb36335