[INFO] cloning repository https://github.com/enebo/jruby-launcherr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enebo/jruby-launcherr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f68d3992dcfa0ad49dcfa74a9fac9afcb6129f83
[INFO] checking enebo/jruby-launcherr against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr" "/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/enebo/jruby-launcherr
[INFO] finished tweaking git repo https://github.com/enebo/jruby-launcherr
[INFO] tweaked toml for git repo https://github.com/enebo/jruby-launcherr written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/enebo/jruby-launcherr on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/enebo/jruby-launcherr 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking enebo/jruby-launcherr against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr" "/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/enebo/jruby-launcherr
[INFO] finished tweaking git repo https://github.com/enebo/jruby-launcherr
[INFO] tweaked toml for git repo https://github.com/enebo/jruby-launcherr written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/enebo/jruby-launcherr on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/enebo/jruby-launcherr 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows_macros v0.8.0
[INFO] [stderr]   Downloaded unicode-xid v0.2.1
[INFO] [stderr]   Downloaded const-sha1 v0.2.0
[INFO] [stderr]   Downloaded quote v1.0.8
[INFO] [stderr]   Downloaded proc-macro2 v1.0.24
[INFO] [stderr]   Downloaded windows v0.8.0
[INFO] [stderr]   Downloaded log v0.4.14
[INFO] [stderr]   Downloaded process_path v0.1.3
[INFO] [stderr]   Downloaded nix v0.19.1
[INFO] [stderr]   Downloaded sys-info v0.8.0
[INFO] [stderr]   Downloaded widestring v0.4.3
[INFO] [stderr]   Downloaded libc v0.2.93
[INFO] [stderr]   Downloaded regex-automata v0.4.9
[INFO] [stderr]   Downloaded syn v1.0.60
[INFO] [stderr]   Downloaded windows_gen v0.8.0
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c1d7b1a656becbbb19c7ce120b75380cd82168a27a3c21495515d075d63b761
[INFO] running `Command { std: "docker" "start" "-a" "1c1d7b1a656becbbb19c7ce120b75380cd82168a27a3c21495515d075d63b761", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c1d7b1a656becbbb19c7ce120b75380cd82168a27a3c21495515d075d63b761", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c1d7b1a656becbbb19c7ce120b75380cd82168a27a3c21495515d075d63b761", kill_on_drop: false }`
[INFO] [stdout] 1c1d7b1a656becbbb19c7ce120b75380cd82168a27a3c21495515d075d63b761
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c3575147a01330e2986e4746f3b3d8c98c6ce26337ecaf9dfaa6134a0c2d3b9
[INFO] running `Command { std: "docker" "start" "-a" "1c3575147a01330e2986e4746f3b3d8c98c6ce26337ecaf9dfaa6134a0c2d3b9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling sys-info v0.8.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking nix v0.19.1
[INFO] [stderr]     Checking process_path v0.1.3
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking jruby v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/os_string_ext.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |         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/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/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/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/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/os_string_ext.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |         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/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/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/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/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[E0053]: method `replace_str` has an incompatible type for trait
[INFO] [stdout]   --> src/os_string_ext.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn replace_str(&self, from: &OsString, to: &OsString) -> OsString {
[INFO] [stdout]    |                                 ^^^^^^^^^ expected `[u8]`, found `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/os_string_ext.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[cfg(not(windows))] fn replace_str(&self, from: &[u8], to: &[u8]) -> OsString;
[INFO] [stdout]    |                                                      ^^^^^
[INFO] [stdout]    = note: expected signature `fn(&OsString, &[u8], &[u8]) -> OsString`
[INFO] [stdout]               found signature `fn(&OsString, &OsString, &OsString) -> OsString`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 30 -     fn replace_str(&self, from: &OsString, to: &OsString) -> OsString {
[INFO] [stdout] 30 +     fn replace_str(&self, from: &[u8], to: &OsString) -> OsString {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `replace_str` has an incompatible type for trait
[INFO] [stdout]   --> src/os_string_ext.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn replace_str(&self, from: &OsString, to: &OsString) -> OsString {
[INFO] [stdout]    |                                 ^^^^^^^^^ expected `[u8]`, found `OsString`
[INFO] [stdout]    |
[INFO] [stdout] note: type in trait
[INFO] [stdout]   --> src/os_string_ext.rs:20:54
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[cfg(not(windows))] fn replace_str(&self, from: &[u8], to: &[u8]) -> OsString;
[INFO] [stdout]    |                                                      ^^^^^
[INFO] [stdout]    = note: expected signature `fn(&OsString, &[u8], &[u8]) -> OsString`
[INFO] [stdout]               found signature `fn(&OsString, &OsString, &OsString) -> OsString`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 30 -     fn replace_str(&self, from: &OsString, to: &OsString) -> OsString {
[INFO] [stdout] 30 +     fn replace_str(&self, from: &[u8], to: &OsString) -> OsString {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `replace`, `split_ascii_whitespace`
[INFO] [stdout]   --> src/os_string_ext.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn replace(&self, from: u8, to: u8) -> OsString;
[INFO] [stdout]    |     ------------------------------------------------ `replace` from trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn split_ascii_whitespace(&self) -> OsWhitespaceSplitIter;
[INFO] [stdout]    |     ---------------------------------------------------------- `split_ascii_whitespace` from trait
[INFO] [stdout] ...
[INFO] [stdout] 28 | impl OsStringExt for OsString {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `replace`, `split_ascii_whitespace` in implementation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `replace`, `split_ascii_whitespace`
[INFO] [stdout]   --> src/os_string_ext.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn replace(&self, from: u8, to: u8) -> OsString;
[INFO] [stdout]    |     ------------------------------------------------ `replace` from trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn split_ascii_whitespace(&self) -> OsWhitespaceSplitIter;
[INFO] [stdout]    |     ---------------------------------------------------------- `split_ascii_whitespace` from trait
[INFO] [stdout] ...
[INFO] [stdout] 28 | impl OsStringExt for OsString {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `replace`, `split_ascii_whitespace` in implementation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/launch_options.rs:700:37
[INFO] [stdout]     |
[INFO] [stdout] 700 |                 self.java_opts.push("-Dfile.encoding=UTF-8".to_string());
[INFO] [stdout]     |                                ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OsString`, found `String`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/alloc/src/vec/mod.rs:2523:11
[INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString`
[INFO] [stdout]     |
[INFO] [stdout] 700 |                 self.java_opts.push("-Dfile.encoding=UTF-8".to_string().into());
[INFO] [stdout]     |                                                                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/launch_options.rs:700:37
[INFO] [stdout]     |
[INFO] [stdout] 700 |                 self.java_opts.push("-Dfile.encoding=UTF-8".to_string());
[INFO] [stdout]     |                                ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OsString`, found `String`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/alloc/src/vec/mod.rs:2523:11
[INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString`
[INFO] [stdout]     |
[INFO] [stdout] 700 |                 self.java_opts.push("-Dfile.encoding=UTF-8".to_string().into());
[INFO] [stdout]     |                                                                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/launch_options.rs:730:37
[INFO] [stdout]     |
[INFO] [stdout] 730 |                 self.java_opts.push("-Djava.security.egd=file:/dev/urandom".to_string());
[INFO] [stdout]     |                                ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OsString`, found `String`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/alloc/src/vec/mod.rs:2523:11
[INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString`
[INFO] [stdout]     |
[INFO] [stdout] 730 |                 self.java_opts.push("-Djava.security.egd=file:/dev/urandom".to_string().into());
[INFO] [stdout]     |                                                                                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/launch_options.rs:730:37
[INFO] [stdout]     |
[INFO] [stdout] 730 |                 self.java_opts.push("-Djava.security.egd=file:/dev/urandom".to_string());
[INFO] [stdout]     |                                ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OsString`, found `String`
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/alloc/src/vec/mod.rs:2523:11
[INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString`
[INFO] [stdout]     |
[INFO] [stdout] 730 |                 self.java_opts.push("-Djava.security.egd=file:/dev/urandom".to_string().into());
[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/os_string_ext.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let vec: Vec<u16> = self.encode_wide().collect();
[INFO] [stdout]    |                                  ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let vec: Vec<u16> = self.encode_wide().collect();
[INFO] [stdout]    |                                  ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let from: Vec<u16> = from.encode_wide().collect();
[INFO] [stdout]    |                                   ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let from: Vec<u16> = from.encode_wide().collect();
[INFO] [stdout]    |                                   ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let to: Vec<u16> = to.encode_wide().collect();
[INFO] [stdout]    |                               ^^^^^^^^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let to: Vec<u16> = to.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/os_string_ext.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         OsString::from_wide(&new)
[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/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/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] 54 -         OsString::from_wide(&new)
[INFO] [stdout] 54 +         OsString::from_iter(&new)
[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/os_string_ext.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |         OsString::from_wide(&new)
[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/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/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] 54 -         OsString::from_wide(&new)
[INFO] [stdout] 54 +         OsString::from_iter(&new)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 |             vec: self.iter().collect(),
[INFO] [stdout]    |                       ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/os_string_ext.rs:82:23
[INFO] [stdout]    |
[INFO] [stdout] 82 |             vec: self.iter().collect(),
[INFO] [stdout]    |                       ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let vec: Vec<u16> = self.iter().collect();
[INFO] [stdout]     |                                  ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |              ^^^^^^^^^^^^^ -------------- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 113 -             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout] 113 +             (OsString::new(), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:113:45
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ ---------------------- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 113 -             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout] 113 +             (OsString::new(&vec[0..index]), OsString::new())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let vec: Vec<u16> = self.iter().collect();
[INFO] [stdout]     |                                  ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |              ^^^^^^^^^^^^^ -------------- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 113 -             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout] 113 +             (OsString::new(), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:113:45
[INFO] [stdout]     |
[INFO] [stdout] 113 |             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ ---------------------- unexpected argument
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 113 -             (OsString::new(&vec[0..index]), OsString::new(&vec[index..vec.len()]))
[INFO] [stdout] 113 +             (OsString::new(&vec[0..index]), OsString::new())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:127:33
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let vec: Vec<u8> = self.iter().collect();
[INFO] [stdout]     |                                 ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for reference `&OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:127:33
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let vec: Vec<u8> = self.iter().collect();
[INFO] [stdout]     |                                 ^^^^ method not found in `&OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let start_vec: Vec<u8> = string.iter().collect();
[INFO] [stdout]     |                                         ^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `iter` found for struct `OsString` in the current scope
[INFO] [stdout]    --> src/os_string_ext.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let start_vec: Vec<u8> = string.iter().collect();
[INFO] [stdout]     |                                         ^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:157:18
[INFO] [stdout]     |
[INFO] [stdout] 157 |             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ---------------------------- unexpected argument of type `&[u8]`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 157 -             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout] 157 +             Some(OsString::new())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[cfg(not(windows))] const TAB: u16 = b'\t' as u16;
[INFO] [stdout]     |                      -------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --  ^^^
[INFO] [stdout]     |                      |   |
[INFO] [stdout]     |                      |   expected `u8`, found `u16`
[INFO] [stdout]     |                      |   `TAB` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |   help: introduce a new binding instead: `other_tab`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:32
[INFO] [stdout]     |
[INFO] [stdout] 142 | #[cfg(not(windows))] const NEWLINE: u16 = b'\n' as u16;
[INFO] [stdout]     |                      ------------------ constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --        ^^^^^^^
[INFO] [stdout]     |                      |         |
[INFO] [stdout]     |                      |         expected `u8`, found `u16`
[INFO] [stdout]     |                      |         `NEWLINE` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |         help: introduce a new binding instead: `other_newline`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:42
[INFO] [stdout]     |
[INFO] [stdout] 143 | #[cfg(not(windows))] const LINEFEED: u16 = b'\x0C' as u16;
[INFO] [stdout]     |                      ------------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                  ^^^^^^^^
[INFO] [stdout]     |                      |                   |
[INFO] [stdout]     |                      |                   expected `u8`, found `u16`
[INFO] [stdout]     |                      |                   `LINEFEED` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |                   help: introduce a new binding instead: `other_linefeed`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:53
[INFO] [stdout]     |
[INFO] [stdout] 140 | #[cfg(not(windows))] const RETURN: u16 = b'\r' as u16;
[INFO] [stdout]     |                      ----------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                             ^^^^^^
[INFO] [stdout]     |                      |                              |
[INFO] [stdout]     |                      |                              expected `u8`, found `u16`
[INFO] [stdout]     |                      |                              `RETURN` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |                              help: introduce a new binding instead: `other_return`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:62
[INFO] [stdout]     |
[INFO] [stdout] 139 | #[cfg(not(windows))] const SPACE: u16 = b' ' as u16;
[INFO] [stdout]     |                      ---------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                                      ^^^^^
[INFO] [stdout]     |                      |                                       |
[INFO] [stdout]     |                      |                                       expected `u8`, found `u16`
[INFO] [stdout]     |                      |                                       `SPACE` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      this expression has type `u8`           help: introduce a new binding instead: `other_space`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:157:18
[INFO] [stdout]     |
[INFO] [stdout] 157 |             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ---------------------------- unexpected argument of type `&[u8]`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 157 -             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout] 157 +             Some(OsString::new())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:215:18
[INFO] [stdout]     |
[INFO] [stdout] 215 |             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ---------------------------- unexpected argument of type `&[u8]`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 215 -             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout] 215 +             Some(OsString::new())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:26
[INFO] [stdout]     |
[INFO] [stdout] 141 | #[cfg(not(windows))] const TAB: u16 = b'\t' as u16;
[INFO] [stdout]     |                      -------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --  ^^^
[INFO] [stdout]     |                      |   |
[INFO] [stdout]     |                      |   expected `u8`, found `u16`
[INFO] [stdout]     |                      |   `TAB` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |   help: introduce a new binding instead: `other_tab`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:32
[INFO] [stdout]     |
[INFO] [stdout] 142 | #[cfg(not(windows))] const NEWLINE: u16 = b'\n' as u16;
[INFO] [stdout]     |                      ------------------ constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --        ^^^^^^^
[INFO] [stdout]     |                      |         |
[INFO] [stdout]     |                      |         expected `u8`, found `u16`
[INFO] [stdout]     |                      |         `NEWLINE` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |         help: introduce a new binding instead: `other_newline`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:42
[INFO] [stdout]     |
[INFO] [stdout] 143 | #[cfg(not(windows))] const LINEFEED: u16 = b'\x0C' as u16;
[INFO] [stdout]     |                      ------------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                  ^^^^^^^^
[INFO] [stdout]     |                      |                   |
[INFO] [stdout]     |                      |                   expected `u8`, found `u16`
[INFO] [stdout]     |                      |                   `LINEFEED` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |                   help: introduce a new binding instead: `other_linefeed`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:53
[INFO] [stdout]     |
[INFO] [stdout] 140 | #[cfg(not(windows))] const RETURN: u16 = b'\r' as u16;
[INFO] [stdout]     |                      ----------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                             ^^^^^^
[INFO] [stdout]     |                      |                              |
[INFO] [stdout]     |                      |                              expected `u8`, found `u16`
[INFO] [stdout]     |                      |                              `RETURN` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      |                              help: introduce a new binding instead: `other_return`
[INFO] [stdout]     |                      this expression has type `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/os_string_ext.rs:167:62
[INFO] [stdout]     |
[INFO] [stdout] 139 | #[cfg(not(windows))] const SPACE: u16 = b' ' as u16;
[INFO] [stdout]     |                      ---------------- constant defined here
[INFO] [stdout] ...
[INFO] [stdout] 167 |             matches!(*b, TAB | NEWLINE | LINEFEED | RETURN | SPACE)
[INFO] [stdout]     |                      --                                      ^^^^^
[INFO] [stdout]     |                      |                                       |
[INFO] [stdout]     |                      |                                       expected `u8`, found `u16`
[INFO] [stdout]     |                      |                                       `SPACE` is interpreted as a constant, not a new binding
[INFO] [stdout]     |                      this expression has type `u8`           help: introduce a new binding instead: `other_space`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/os_string_ext.rs:215:18
[INFO] [stdout]     |
[INFO] [stdout] 215 |             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout]     |                  ^^^^^^^^^^^^^ ---------------------------- unexpected argument of type `&[u8]`
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/7424ce9ff9baac3e9d9f5dd3c85828cddea0134d/library/std/src/ffi/os_str.rs:141:17
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]     |
[INFO] [stdout] 215 -             Some(OsString::new(&vec[start_index..end_index]))
[INFO] [stdout] 215 +             Some(OsString::new())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this method are incorrect
[INFO] [stdout]    --> src/os_string_ext.rs:257:25
[INFO] [stdout]     |
[INFO] [stdout] 257 |         assert_eq!(orig.replace_str(&OsString::from("zoo"), &OsString::from("carrots")), orig);
[INFO] [stdout]     |                         ^^^^^^^^^^^ ----------------------  -------------------------- expected `&[u8]`, found `&OsString`
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected `&[u8]`, found `&OsString`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&OsString`
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&OsString`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/os_string_ext.rs:20:29
[INFO] [stdout]     |
[INFO] [stdout]  20 |     #[cfg(not(windows))] fn replace_str(&self, from: &[u8], to: &[u8]) -> OsString;
[INFO] [stdout]     |                             ^^^^^^^^^^^        ----         --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let command = CString::new(command.as_str()).unwrap();
[INFO] [stdout]    |                                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `as_os_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let command = CString::new(command.as_os_str()).unwrap();
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this method are incorrect
[INFO] [stdout]    --> src/os_string_ext.rs:263:25
[INFO] [stdout]     |
[INFO] [stdout] 263 |         assert_eq!(orig.replace_str(&OsString::from("onions"), &OsString::from("carrots")),
[INFO] [stdout]     |                         ^^^^^^^^^^^ -------------------------  -------------------------- expected `&[u8]`, found `&OsString`
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected `&[u8]`, found `&OsString`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&OsString`
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&OsString`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/os_string_ext.rs:20:29
[INFO] [stdout]     |
[INFO] [stdout]  20 |     #[cfg(not(windows))] fn replace_str(&self, from: &[u8], to: &[u8]) -> OsString;
[INFO] [stdout]     |                             ^^^^^^^^^^^        ----         --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this method are incorrect
[INFO] [stdout]    --> src/os_string_ext.rs:266:25
[INFO] [stdout]     |
[INFO] [stdout] 266 |         assert_eq!(orig.replace_str(&OsString::from("onions"), &OsString::from("carrots")),
[INFO] [stdout]     |                         ^^^^^^^^^^^ -------------------------  -------------------------- expected `&[u8]`, found `&OsString`
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected `&[u8]`, found `&OsString`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&OsString`
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                found reference `&OsString`
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/os_string_ext.rs:20:29
[INFO] [stdout]     |
[INFO] [stdout]  20 |     #[cfg(not(windows))] fn replace_str(&self, from: &[u8], to: &[u8]) -> OsString;
[INFO] [stdout]     |                             ^^^^^^^^^^^        ----         --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |         .map(|arg| CString::new(arg.as_str()).unwrap())
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `as_os_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 |         .map(|arg| CString::new(arg.as_os_str()).unwrap())
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for struct `OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:42:40
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let command = CString::new(command.as_str()).unwrap();
[INFO] [stdout]    |                                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `as_os_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let command = CString::new(command.as_os_str()).unwrap();
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_str` found for reference `&OsString` in the current scope
[INFO] [stdout]   --> src/main.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |         .map(|arg| CString::new(arg.as_str()).unwrap())
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `as_os_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 |         .map(|arg| CString::new(arg.as_os_str()).unwrap())
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/environment.rs:205:21
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let test = |f: &PathBuf| true;
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0061, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jruby` (bin "jruby") due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0046, E0053, E0061, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jruby` (bin "jruby" test) due to 27 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "1c3575147a01330e2986e4746f3b3d8c98c6ce26337ecaf9dfaa6134a0c2d3b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c3575147a01330e2986e4746f3b3d8c98c6ce26337ecaf9dfaa6134a0c2d3b9", kill_on_drop: false }`
[INFO] [stdout] 1c3575147a01330e2986e4746f3b3d8c98c6ce26337ecaf9dfaa6134a0c2d3b9
