[INFO] cloning repository https://github.com/FateXii/handmade_hero
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FateXii/handmade_hero" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFateXii%2Fhandmade_hero", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFateXii%2Fhandmade_hero'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8b5a238611ec690f5425755a3e107c274a9cca0c
[INFO] checking FateXii/handmade_hero/8b5a238611ec690f5425755a3e107c274a9cca0c against 3d50c25bc66853bf0ad205529d0f305a1d841b5e for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFateXii%2Fhandmade_hero" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/FateXii/handmade_hero
[INFO] finished tweaking git repo https://github.com/FateXii/handmade_hero
[INFO] tweaked toml for git repo https://github.com/FateXii/handmade_hero written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/FateXii/handmade_hero on toolchain 3d50c25bc66853bf0ad205529d0f305a1d841b5e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/FateXii/handmade_hero 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" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded widestring v0.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07
[INFO] running `Command { std: "docker" "start" "2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07" "/opt/rustwide/cargo-home/bin/cargo" "+3d50c25bc66853bf0ad205529d0f305a1d841b5e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking widestring v0.4.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking handmade_hero v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `winapi`
[INFO] [stdout]  --> src/win32/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate winapi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> examples/main.rs:38:23
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_message(msg: str) -> Result<(), IoError> {
[INFO] [stdout]    |                       ^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_message(msg: &str) -> Result<(), IoError> {
[INFO] [stdout]    |                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> examples/main.rs:39:31
[INFO] [stdout]    |
[INFO] [stdout] 39 |     println!("Not Windows{}", msg);
[INFO] [stdout]    |                          --   ^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/win32/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use os::windows::ffi::OsStrExt;
[INFO] [stdout]    |             ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `winapi`
[INFO] [stdout]  --> src/win32/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate winapi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `handmade_hero` (bin "handmade_hero" test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]   --> src/win32/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use os::windows::ffi::OsStrExt;
[INFO] [stdout]    |             ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `handmade_hero` (bin "handmade_hero") due to 2 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/main.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |     print_message("Hello World").unwrap();
[INFO] [stdout]    |     ------------- ^^^^^^^^^^^^^ expected `str`, found `&str`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> examples/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn print_message(msg: str) -> Result<(), IoError> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^ --------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> examples/main.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |     print_message("Hello World").unwrap();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all function arguments must have a statically known size
[INFO] [stdout]    = help: unsized fn params are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `handmade_hero` (example "main") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07", kill_on_drop: false }`
[INFO] [stdout] 2f71e9745cb50495018b48c996521e5f452fac6817617a0dc469ae23137c5d07
