[INFO] cloning repository https://github.com/bombless/win [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bombless/win" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Fwin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Fwin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b83de14882b70076f031df1af860e1add82e6ba [INFO] checking bombless/win against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbombless%2Fwin" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bombless/win on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bombless/win [INFO] finished tweaking git repo https://github.com/bombless/win [INFO] tweaked toml for git repo https://github.com/bombless/win written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bombless/win 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d276c6aed84492c7896fa0d1dea1b459ec413b3c463d61ecfe3f0161e0426e70 [INFO] running `Command { std: "docker" "start" "-a" "d276c6aed84492c7896fa0d1dea1b459ec413b3c463d61ecfe3f0161e0426e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d276c6aed84492c7896fa0d1dea1b459ec413b3c463d61ecfe3f0161e0426e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d276c6aed84492c7896fa0d1dea1b459ec413b3c463d61ecfe3f0161e0426e70", kill_on_drop: false }` [INFO] [stdout] d276c6aed84492c7896fa0d1dea1b459ec413b3c463d61ecfe3f0161e0426e70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9901f344ec34c8cb841fe719c1c45de3da88d40e1c042ab474d063260eb3f9f5 [INFO] running `Command { std: "docker" "start" "-a" "9901f344ec34c8cb841fe719c1c45de3da88d40e1c042ab474d063260eb3f9f5", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Checking windows-sys v0.48.0 [INFO] [stderr] Checking windows v0.51.1 [INFO] [stderr] Checking win v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 55 | create_window(hwnd, Class::Button, ID_BTN_OK, PCSTR("OK\0".as_ptr().into()), 10, 10, 100, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:57:70 [INFO] [stdout] | [INFO] [stdout] 57 | let text = create_window(hwnd, Class::Static, ID_TEXT, PCSTR("my text\0".as_ptr().into()), 10, 200, 100, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | Class::Button => PCSTR("BUTTON\0".as_ptr().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | Class::Static => PCSTR("STATIC\0".as_ptr().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | SetWindowTextA(text, PCSTR(format!("{}\0", *count).as_ptr().into())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win` (bin "win") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:55:61 [INFO] [stdout] | [INFO] [stdout] 55 | create_window(hwnd, Class::Button, ID_BTN_OK, PCSTR("OK\0".as_ptr().into()), 10, 10, 100, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:57:70 [INFO] [stdout] | [INFO] [stdout] 57 | let text = create_window(hwnd, Class::Static, ID_TEXT, PCSTR("my text\0".as_ptr().into()), 10, 200, 100, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | Class::Button => PCSTR("BUTTON\0".as_ptr().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | Class::Static => PCSTR("STATIC\0".as_ptr().into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `*const u8` to `*const u8` [INFO] [stdout] --> src/main.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | SetWindowTextA(text, PCSTR(format!("{}\0", *count).as_ptr().into())).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `win` (bin "win" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9901f344ec34c8cb841fe719c1c45de3da88d40e1c042ab474d063260eb3f9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9901f344ec34c8cb841fe719c1c45de3da88d40e1c042ab474d063260eb3f9f5", kill_on_drop: false }` [INFO] [stdout] 9901f344ec34c8cb841fe719c1c45de3da88d40e1c042ab474d063260eb3f9f5