[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] testing enebo/jruby-launcherr against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenebo%2Fjruby-launcherr" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/enebo/jruby-launcherr on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-6/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded sys-info v0.8.0 [INFO] [stderr] Downloaded windows_macros v0.8.0 [INFO] [stderr] Downloaded windows v0.8.0 [INFO] [stderr] Downloaded process_path v0.1.3 [INFO] [stderr] Downloaded windows_gen v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7361f746ce7e6489f5aeb985eea0c7c579bba5c4fae9c1957021e14caf1227ec [INFO] running `Command { std: "docker" "start" "-a" "7361f746ce7e6489f5aeb985eea0c7c579bba5c4fae9c1957021e14caf1227ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7361f746ce7e6489f5aeb985eea0c7c579bba5c4fae9c1957021e14caf1227ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7361f746ce7e6489f5aeb985eea0c7c579bba5c4fae9c1957021e14caf1227ec", kill_on_drop: false }` [INFO] [stdout] 7361f746ce7e6489f5aeb985eea0c7c579bba5c4fae9c1957021e14caf1227ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 88418582039e9b4a437b2febe210436fcbda3305128da57384ba9b27fc6cc505 [INFO] running `Command { std: "docker" "start" "-a" "88418582039e9b4a437b2febe210436fcbda3305128da57384ba9b27fc6cc505", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling sys-info v0.8.0 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling process_path v0.1.3 [INFO] [stderr] Compiling 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] [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] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected slice `[u8]`, found struct `OsString` [INFO] [stdout] | help: change the parameter type to match the trait: `&[u8]` [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 fn pointer `fn(&OsString, &[u8], &[u8]) -> OsString` [INFO] [stdout] found fn pointer `fn(&OsString, &OsString, &OsString) -> OsString` [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 struct `OsString`, found struct `String` [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 struct `OsString`, found struct `String` [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: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] [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] | ^^^^^^^^^^^^^ -------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [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] | ^^^^^^^^^^^^^ ---------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [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] | ^^^^^^^^^^^^^ ---------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [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] | ^^^^^^^^^^^^^ ---------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [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] | ^^^^^^ help: there is an associated function with a similar name: `to_str` [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] | ^^^^^^ help: there is an associated function with a similar name: `to_str` [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` due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "88418582039e9b4a437b2febe210436fcbda3305128da57384ba9b27fc6cc505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88418582039e9b4a437b2febe210436fcbda3305128da57384ba9b27fc6cc505", kill_on_drop: false }` [INFO] [stdout] 88418582039e9b4a437b2febe210436fcbda3305128da57384ba9b27fc6cc505