[INFO] cloning repository https://github.com/gd-hyperdash/mlrt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gd-hyperdash/mlrt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgd-hyperdash%2Fmlrt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgd-hyperdash%2Fmlrt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a1a5701fe4810dee354481385d8888091562c80 [INFO] checking gd-hyperdash/mlrt against try#1bd50d4315eb15970d395b6be5823f9384707693 for pr-140151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgd-hyperdash%2Fmlrt" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gd-hyperdash/mlrt on toolchain 1bd50d4315eb15970d395b6be5823f9384707693 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gd-hyperdash/mlrt [INFO] finished tweaking git repo https://github.com/gd-hyperdash/mlrt [INFO] tweaked toml for git repo https://github.com/gd-hyperdash/mlrt written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gd-hyperdash/mlrt 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" "+1bd50d4315eb15970d395b6be5823f9384707693" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45d1d85028411873834d27aea2196e7d9da0343d1c8246e5be112cae16f2af07 [INFO] running `Command { std: "docker" "start" "-a" "45d1d85028411873834d27aea2196e7d9da0343d1c8246e5be112cae16f2af07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45d1d85028411873834d27aea2196e7d9da0343d1c8246e5be112cae16f2af07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45d1d85028411873834d27aea2196e7d9da0343d1c8246e5be112cae16f2af07", kill_on_drop: false }` [INFO] [stdout] 45d1d85028411873834d27aea2196e7d9da0343d1c8246e5be112cae16f2af07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1bd50d4315eb15970d395b6be5823f9384707693" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88cd5188b5c4c9aea2f7965f2b6e7d54b86067d04e91152f4241a213dcc5a0f4 [INFO] running `Command { std: "docker" "start" "-a" "88cd5188b5c4c9aea2f7965f2b6e7d54b86067d04e91152f4241a213dcc5a0f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking iced-x86 v1.17.0 [INFO] [stderr] Compiling mlsys v1.0.0 (/opt/rustwide/workdir/mlsys) [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Compiling scroll_derive v0.11.0 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking goblin v0.5.1 [INFO] [stderr] Checking mldl v1.0.0 (/opt/rustwide/workdir/mldl) [INFO] [stderr] Checking mlrt v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/memory/linux.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | RawString::default() [INFO] [stdout] | ^^^^^^^ multiple `default` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `mlsys::RS` for the type `*const i8` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Default` for the type `*const T` [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 119 - RawString::default() [INFO] [stdout] 119 + <*const i8 as Default>::default() [INFO] [stdout] | [INFO] [stdout] 119 - RawString::default() [INFO] [stdout] 119 + <*const i8 as mlsys::RS>::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/memory/linux.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | RawString::default() [INFO] [stdout] | ^^^^^^^ multiple `default` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `mlsys::RS` for the type `*const i8` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Default` for the type `*const T` [INFO] [stdout] help: use fully-qualified syntax to disambiguate [INFO] [stdout] | [INFO] [stdout] 119 - RawString::default() [INFO] [stdout] 119 + <*const i8 as Default>::default() [INFO] [stdout] | [INFO] [stdout] 119 - RawString::default() [INFO] [stdout] 119 + <*const i8 as mlsys::RS>::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ldr` [INFO] [stdout] --> src/process/mod.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ldr::initialize_ml_binary(self::get_module_base(h)?, path, h, mid)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ldr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ldr`, use `cargo add ldr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ldr` [INFO] [stdout] --> src/process/mod.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | ldr::initialize_ml_binary(self::get_module_base(h)?, path, h, mid)?; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ldr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ldr`, use `cargo add ldr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/process/mod.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | if self::get_module_base(h).unwrap_or(0) != base { [INFO] [stdout] | --------- ^ expected `*mut c_void`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut c_void` [INFO] [stdout] found type `usize` [INFO] [stdout] help: the return type of this call is `usize` due to the type of the argument passed [INFO] [stdout] --> src/process/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | if self::get_module_base(h).unwrap_or(0) != base { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/result.rs:1439:12 [INFO] [stdout] help: if you meant to create a null pointer, use `std::ptr::null_mut()` [INFO] [stdout] | [INFO] [stdout] 38 - if self::get_module_base(h).unwrap_or(0) != base { [INFO] [stdout] 38 + if self::get_module_base(h).unwrap_or(std::ptr::null_mut()) != base { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ldr` [INFO] [stdout] --> src/process/mod.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | return ldr::cleanup_ml_binary(base, &path, h); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ldr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ldr`, use `cargo add ldr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathBuf: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | return match self::add_linker_path(&PathBuf::from(path)) { [INFO] [stdout] | ^^^^^^^ the trait `From<*const i8>` is not implemented for `PathBuf` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PathBuf` implements `From<&T>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathBuf: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | return match self::remove_linker_path(&PathBuf::from(path)) { [INFO] [stdout] | ^^^^^^^ the trait `From<*const i8>` is not implemented for `PathBuf` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PathBuf` implements `From<&T>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | return match self::get_module(&String::from(name)) { [INFO] [stdout] | ^^^^^^ the trait `From<*const i8>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathBuf: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | return match self::load_module(&PathBuf::from(path), &mid) { [INFO] [stdout] | ^^^^^^^ the trait `From<*const i8>` is not implemented for `PathBuf` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PathBuf` implements `From<&T>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/process/mod.rs:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | *out = mlsys::RawString::from(p.as_os_str()); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^ expected `*const i8`, found `&OsStr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found reference `&OsStr` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/convert/mod.rs:587:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/process/mod.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | if self::get_module_base(h).unwrap_or(0) != base { [INFO] [stdout] | --------- ^ expected `*mut c_void`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*mut c_void` [INFO] [stdout] found type `usize` [INFO] [stdout] help: the return type of this call is `usize` due to the type of the argument passed [INFO] [stdout] --> src/process/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | if self::get_module_base(h).unwrap_or(0) != base { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `unwrap_or` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/result.rs:1439:12 [INFO] [stdout] help: if you meant to create a null pointer, use `std::ptr::null_mut()` [INFO] [stdout] | [INFO] [stdout] 38 - if self::get_module_base(h).unwrap_or(0) != base { [INFO] [stdout] 38 + if self::get_module_base(h).unwrap_or(std::ptr::null_mut()) != base { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ldr` [INFO] [stdout] --> src/process/mod.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | return ldr::cleanup_ml_binary(base, &path, h); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `ldr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ldr`, use `cargo add ldr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/buffer/hooks.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe extern "C" fn MLEnableHook(target: Address, hook: Address) -> Bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hook` [INFO] [stdout] --> src/buffer/hooks.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe extern "C" fn MLEnableHook(target: Address, hook: Address) -> Bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hook` [INFO] [stdout] --> src/buffer/hooks.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe extern "C" fn MLDisableHook(hook: Address) -> Bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/buffer/hooks.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe extern "C" fn MLEnumerateHooks(owner: Handle) -> Address { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/buffer/hooks.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe extern "C" fn MLInitRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/buffer/hooks.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe extern "C" fn MLInitRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/buffer/hooks.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe extern "C" fn MLCleanupRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/buffer/hooks.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe extern "C" fn MLCleanupRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/buffer/hooks.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe extern "C" fn MLGetHookSize(target: Address) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathBuf: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | return match self::add_linker_path(&PathBuf::from(path)) { [INFO] [stdout] | ^^^^^^^ the trait `From<*const i8>` is not implemented for `PathBuf` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PathBuf` implements `From<&T>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathBuf: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | return match self::remove_linker_path(&PathBuf::from(path)) { [INFO] [stdout] | ^^^^^^^ the trait `From<*const i8>` is not implemented for `PathBuf` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PathBuf` implements `From<&T>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | return match self::get_module(&String::from(name)) { [INFO] [stdout] | ^^^^^^ the trait `From<*const i8>` is not implemented for `String` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `String` implements `From<&String>` [INFO] [stdout] `String` implements `From<&mut str>` [INFO] [stdout] `String` implements `From<&str>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From>` [INFO] [stdout] `String` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PathBuf: From<*const i8>` is not satisfied [INFO] [stdout] --> src/process/mod.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | return match self::load_module(&PathBuf::from(path), &mid) { [INFO] [stdout] | ^^^^^^^ the trait `From<*const i8>` is not implemented for `PathBuf` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PathBuf` implements `From<&T>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From>` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] `PathBuf` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/process/mod.rs:165:47 [INFO] [stdout] | [INFO] [stdout] 165 | *out = mlsys::RawString::from(p.as_os_str()); [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^ expected `*const i8`, found `&OsStr` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found reference `&OsStr` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/1bd50d4315eb15970d395b6be5823f9384707693/library/core/src/convert/mod.rs:587:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/buffer/hooks.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe extern "C" fn MLEnableHook(target: Address, hook: Address) -> Bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hook` [INFO] [stdout] --> src/buffer/hooks.rs:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe extern "C" fn MLEnableHook(target: Address, hook: Address) -> Bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hook` [INFO] [stdout] --> src/buffer/hooks.rs:26:36 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe extern "C" fn MLDisableHook(hook: Address) -> Bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/buffer/hooks.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe extern "C" fn MLEnumerateHooks(owner: Handle) -> Address { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/buffer/hooks.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe extern "C" fn MLInitRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/buffer/hooks.rs:36:51 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe extern "C" fn MLInitRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/buffer/hooks.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe extern "C" fn MLCleanupRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/buffer/hooks.rs:41:54 [INFO] [stdout] | [INFO] [stdout] 41 | unsafe extern "C" fn MLCleanupRecord(handle: Handle, id: RawString) -> Bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/buffer/hooks.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe extern "C" fn MLGetHookSize(target: Address) -> usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mlrt` (lib test) due to 9 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0034, E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mlrt` (lib) due to 9 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88cd5188b5c4c9aea2f7965f2b6e7d54b86067d04e91152f4241a213dcc5a0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88cd5188b5c4c9aea2f7965f2b6e7d54b86067d04e91152f4241a213dcc5a0f4", kill_on_drop: false }` [INFO] [stdout] 88cd5188b5c4c9aea2f7965f2b6e7d54b86067d04e91152f4241a213dcc5a0f4