[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] 920237df905185d7ece5244dda9602cbaaeafcc1 [INFO] checking enebo/jruby-launcherr/920237df905185d7ece5244dda9602cbaaeafcc1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enebo/jruby-launcherr on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded windows v0.8.0 [INFO] [stderr] Downloaded process_path v0.1.3 [INFO] [stderr] Downloaded windows_macros v0.8.0 [INFO] [stderr] Downloaded sys-info v0.8.0 [INFO] [stderr] Downloaded nix v0.19.1 [INFO] [stderr] Downloaded windows_gen v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41a04d3e8ea1555712ea91f97635fa7d4ed53dab27900576a46a7eff40d803d7 [INFO] running `Command { std: "docker" "start" "-a" "41a04d3e8ea1555712ea91f97635fa7d4ed53dab27900576a46a7eff40d803d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41a04d3e8ea1555712ea91f97635fa7d4ed53dab27900576a46a7eff40d803d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a04d3e8ea1555712ea91f97635fa7d4ed53dab27900576a46a7eff40d803d7", kill_on_drop: false }` [INFO] [stdout] 41a04d3e8ea1555712ea91f97635fa7d4ed53dab27900576a46a7eff40d803d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3d1a45ec9b3b2565829272bb2c4e0ba8b0751a6b9f8c3307e634d9dfa049aab [INFO] running `Command { std: "docker" "start" "-a" "d3d1a45ec9b3b2565829272bb2c4e0ba8b0751a6b9f8c3307e634d9dfa049aab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling sys-info v0.8.0 [INFO] [stderr] Checking process_path v0.1.3 [INFO] [stderr] Checking nix v0.19.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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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: &[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[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: &[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[E0308]: mismatched types [INFO] [stdout] --> src/launch_options.rs:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString` [INFO] [stdout] | [INFO] [stdout] 512 | 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:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString` [INFO] [stdout] | [INFO] [stdout] 512 | 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:542:37 [INFO] [stdout] | [INFO] [stdout] 542 | 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString` [INFO] [stdout] | [INFO] [stdout] 542 | 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:542:37 [INFO] [stdout] | [INFO] [stdout] 542 | 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/vec/mod.rs:2298:12 [INFO] [stdout] help: call `Into::into` on this expression to convert `String` into `OsString` [INFO] [stdout] | [INFO] [stdout] 542 | 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 = 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 = 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 = 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 = 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 = 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 = 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [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 = 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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 = 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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 = 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 = 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 = 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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[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 = string.iter().collect(); [INFO] [stdout] | ^^^^ method not found in `OsString` [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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[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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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: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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:12 [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[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] 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[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 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] error: aborting due to 24 previous errors [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 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 27 previous errors [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" test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "d3d1a45ec9b3b2565829272bb2c4e0ba8b0751a6b9f8c3307e634d9dfa049aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d1a45ec9b3b2565829272bb2c4e0ba8b0751a6b9f8c3307e634d9dfa049aab", kill_on_drop: false }` [INFO] [stdout] d3d1a45ec9b3b2565829272bb2c4e0ba8b0751a6b9f8c3307e634d9dfa049aab