[INFO] cloning repository https://github.com/j0le/create-process-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j0le/create-process-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj0le%2Fcreate-process-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj0le%2Fcreate-process-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ac87144edbe29e2ed547c5eb7da96113fa00c3a [INFO] testing j0le/create-process-rust against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj0le%2Fcreate-process-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/j0le/create-process-rust [INFO] finished tweaking git repo https://github.com/j0le/create-process-rust [INFO] tweaked toml for git repo https://github.com/j0le/create-process-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/j0le/create-process-rust on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/j0le/create-process-rust 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0c2341e63fe296cd0f839b547e2298e42ae0cbc52423d9bf690ae779d8b552f [INFO] running `Command { std: "docker" "start" "-a" "a0c2341e63fe296cd0f839b547e2298e42ae0cbc52423d9bf690ae779d8b552f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0c2341e63fe296cd0f839b547e2298e42ae0cbc52423d9bf690ae779d8b552f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0c2341e63fe296cd0f839b547e2298e42ae0cbc52423d9bf690ae779d8b552f", kill_on_drop: false }` [INFO] [stdout] a0c2341e63fe296cd0f839b547e2298e42ae0cbc52423d9bf690ae779d8b552f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c85fd7f32378860ec6256d2d026cdc4ca4fe8de397b7feec2f3be8fb32c465c [INFO] running `Command { std: "docker" "start" "-a" "7c85fd7f32378860ec6256d2d026cdc4ca4fe8de397b7feec2f3be8fb32c465c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Compiling serde v1.0.166 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling create-process-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling windows-targets v0.48.1 [INFO] [stderr] Compiling windows v0.48.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.166 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/output.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/output.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/commandline.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/commandline.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/process.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/options.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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 function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/output.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | let raw_os_str = OsString::from_wide(self.raw); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 27 - let raw_os_str = OsString::from_wide(self.raw); [INFO] [stdout] 27 + let raw_os_str = OsString::from_iter(self.raw); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/bin/create-strange-commandline.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::{OsStrExt,OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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 method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/output.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | let arg_vec : Vec = self.arg.encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/output.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | let raw_os_str = OsString::from_wide(self.raw); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 99 - let raw_os_str = OsString::from_wide(self.raw); [INFO] [stdout] 99 + let raw_os_str = OsString::from_iter(self.raw); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/output.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | let raw = OsString::from_wide(self.raw); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 125 - let raw = OsString::from_wide(self.raw); [INFO] [stdout] 125 + let raw = OsString::from_iter(self.raw); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/output.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | let raw = OsString::from_wide(raw); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 194 - let raw = OsString::from_wide(raw); [INFO] [stdout] 194 + let raw = OsString::from_iter(raw); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/commandline.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | arg: OsString::from_wide(&self.cur), [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 41 - arg: OsString::from_wide(&self.cur), [INFO] [stdout] 41 + arg: OsString::from_iter(&self.cur), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/commandline.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | if os_str.encode_wide().any(|u| u == 0u16) { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/commandline.rs:300:55 [INFO] [stdout] | [INFO] [stdout] 300 | else { (force_quotes || arg.is_empty() || arg.encode_wide().any(|c| c == SPACE || c == TAB), true) }; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/commandline.rs:307:18 [INFO] [stdout] | [INFO] [stdout] 307 | for x in arg.encode_wide() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/options.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | Ok(OsString::from_wide(&vec16[..])) [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 187 - Ok(OsString::from_wide(&vec16[..])) [INFO] [stdout] 187 + Ok(OsString::from_iter(&vec16[..])) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/bin/create-strange-commandline.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | return Some(PathBuf::from(OsString::from_wide(&u16_array[0..size_without_terminating_nul as usize]))); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 28 - return Some(PathBuf::from(OsString::from_wide(&u16_array[0..size_without_terminating_nul as usize]))); [INFO] [stdout] 28 + return Some(PathBuf::from(OsString::from_iter(&u16_array[0..size_without_terminating_nul as usize]))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/options.rs:344:62 [INFO] [stdout] | [INFO] [stdout] 344 | cmdline_opt = Some(CmdlineOpt::Str(OsString::from_wide(commandline::get_rest(cmd_line, arg)))); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 344 - cmdline_opt = Some(CmdlineOpt::Str(OsString::from_wide(commandline::get_rest(cmd_line, arg)))); [INFO] [stdout] 344 + cmdline_opt = Some(CmdlineOpt::Str(OsString::from_iter(commandline::get_rest(cmd_line, arg)))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/bin/create-strange-commandline.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | for bb in os_str.encode_wide() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/bin/create-strange-commandline.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | let high_surrogate = OsString::from_wide(&[0xd83du16]); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 63 - let high_surrogate = OsString::from_wide(&[0xd83du16]); [INFO] [stdout] 63 + let high_surrogate = OsString::from_iter(&[0xd83du16]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope [INFO] [stdout] --> src/main.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | let cmdline_vec = cmdline_str.encode_wide().collect_vec(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/bin/create-strange-commandline.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let low_surrogate = OsString::from_wide(&[0xde00u16]); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 64 - let low_surrogate = OsString::from_wide(&[0xde00u16]); [INFO] [stdout] 64 + let low_surrogate = OsString::from_iter(&[0xde00u16]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:180:54 [INFO] [stdout] | [INFO] [stdout] 180 | new_cmdline = Some(OsString::from_wide(get_rest(&new_cmdline_u16, &arg))); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 180 - new_cmdline = Some(OsString::from_wide(get_rest(&new_cmdline_u16, &arg))); [INFO] [stdout] 180 + new_cmdline = Some(OsString::from_iter(get_rest(&new_cmdline_u16, &arg))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&Cow<'_, OsStr>` in the current scope [INFO] [stdout] --> src/main.rs:197:59 [INFO] [stdout] | [INFO] [stdout] 197 | let prog_vec: Vec = cow_prog.encode_wide().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&Cow<'_, OsStr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:202:53 [INFO] [stdout] | [INFO] [stdout] 202 | let mut new_cmd = OsString::from_wide(&escaped_arg_zero.escaped); [INFO] [stdout] | ^^^^^^^^^ function or associated item 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/db823df02fd0c2cf67b43025ac3fef3f2d743245/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] 202 - let mut new_cmd = OsString::from_wide(&escaped_arg_zero.escaped); [INFO] [stdout] 202 + let mut new_cmd = OsString::from_iter(&escaped_arg_zero.escaped); [INFO] [stdout] | [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 `create-process-rust` (bin "create-strange-commandline") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `cmdline` [INFO] [stdout] --> src/input.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let cmdline : String = get_cmdline_from_args(args.iter()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmdline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_user_input` [INFO] [stdout] --> src/input.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | pub(super) fn get_program_from_json(json_user_input : &JsonUserInput) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_user_input` [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 `create-process-rust` (bin "create-process-rust") due to 23 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7c85fd7f32378860ec6256d2d026cdc4ca4fe8de397b7feec2f3be8fb32c465c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c85fd7f32378860ec6256d2d026cdc4ca4fe8de397b7feec2f3be8fb32c465c", kill_on_drop: false }` [INFO] [stdout] 7c85fd7f32378860ec6256d2d026cdc4ca4fe8de397b7feec2f3be8fb32c465c