[INFO] cloning repository https://github.com/shaijing/rshim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaijing/rshim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaijing%2Frshim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaijing%2Frshim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f9a7af918ee56865a201e98a5cb3ddaa6f75e4e
[INFO] checking shaijing/rshim against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaijing%2Frshim" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shaijing/rshim
[INFO] finished tweaking git repo https://github.com/shaijing/rshim
[INFO] tweaked toml for git repo https://github.com/shaijing/rshim written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shaijing/rshim on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shaijing/rshim 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 196f37f09c8a75a91b817b1f68dfe13c940d75d726c825b0b36246c237526328
[INFO] running `Command { std: "docker" "start" "-a" "196f37f09c8a75a91b817b1f68dfe13c940d75d726c825b0b36246c237526328", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "196f37f09c8a75a91b817b1f68dfe13c940d75d726c825b0b36246c237526328", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "196f37f09c8a75a91b817b1f68dfe13c940d75d726c825b0b36246c237526328", kill_on_drop: false }`
[INFO] [stdout] 196f37f09c8a75a91b817b1f68dfe13c940d75d726c825b0b36246c237526328
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ee0a0c0fd6430a4a90981a59de18fbffd5751d87ec30f53933feb36764bda1a
[INFO] running `Command { std: "docker" "start" "-a" "9ee0a0c0fd6430a4a90981a59de18fbffd5751d87ec30f53933feb36764bda1a", kill_on_drop: false }`
[INFO] [stderr]     Checking windows-link v0.2.1
[INFO] [stderr]     Checking windows-sys v0.61.2
[INFO] [stderr]     Checking rshim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::windows::ffi::OsStringExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:58:48
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let exe_path = PathBuf::from(OsString::from_wide(&buffer[..len as usize]));
[INFO] [stdout]    |                                                ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/ffi/os_str.rs:141:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 58 -         let exe_path = PathBuf::from(OsString::from_wide(&buffer[..len as usize]));
[INFO] [stdout] 58 +         let exe_path = PathBuf::from(OsString::from_iter(&buffer[..len as usize]));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:107:31
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let argv0_len = argv0.encode_wide().count();
[INFO] [stdout]     |                               ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:58:48
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let exe_path = PathBuf::from(OsString::from_wide(&buffer[..len as usize]));
[INFO] [stdout]    |                                                ^^^^^^^^^ associated function or constant not found in `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions:
[INFO] [stdout]       OsString::new
[INFO] [stdout]       OsString::from_encoded_bytes_unchecked
[INFO] [stdout]       OsString::with_capacity
[INFO] [stdout]   --> /rustc/ac4c3613be2acd5395b65d85e5657b81e3c982f0/library/std/src/ffi/os_str.rs:141:4
[INFO] [stdout] help: there is an associated function `from_iter` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 58 -         let exe_path = PathBuf::from(OsString::from_wide(&buffer[..len as usize]));
[INFO] [stdout] 58 +         let exe_path = PathBuf::from(OsString::from_iter(&buffer[..len as usize]));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rshim` (bin "rshim") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/main.rs:107:31
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let argv0_len = argv0.encode_wide().count();
[INFO] [stdout]     |                               ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rshim` (bin "rshim" test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "9ee0a0c0fd6430a4a90981a59de18fbffd5751d87ec30f53933feb36764bda1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ee0a0c0fd6430a4a90981a59de18fbffd5751d87ec30f53933feb36764bda1a", kill_on_drop: false }`
[INFO] [stdout] 9ee0a0c0fd6430a4a90981a59de18fbffd5751d87ec30f53933feb36764bda1a
