[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] testing gd-hyperdash/mlrt against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgd-hyperdash%2Fmlrt" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gd-hyperdash/mlrt on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-2-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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded goblin v0.5.1
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.28.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.28.0
[INFO] [stderr]   Downloaded iced-x86 v1.17.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.28.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.28.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.28.0
[INFO] [stderr]   Downloaded windows-sys v0.28.0
[INFO] [stderr]   Downloaded windows v0.28.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b55fa6ef90b23c4f0beb2cd0b041ea9c561e850fc022c9dbb99ac9d5e59bd162
[INFO] running `Command { std: "docker" "start" "-a" "b55fa6ef90b23c4f0beb2cd0b041ea9c561e850fc022c9dbb99ac9d5e59bd162", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b55fa6ef90b23c4f0beb2cd0b041ea9c561e850fc022c9dbb99ac9d5e59bd162", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b55fa6ef90b23c4f0beb2cd0b041ea9c561e850fc022c9dbb99ac9d5e59bd162", kill_on_drop: false }`
[INFO] [stdout] b55fa6ef90b23c4f0beb2cd0b041ea9c561e850fc022c9dbb99ac9d5e59bd162
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27f6d102742aadccce5379b6afb596003112ecece7969bdc8f24816e59204286
[INFO] running `Command { std: "docker" "start" "-a" "27f6d102742aadccce5379b6afb596003112ecece7969bdc8f24816e59204286", 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 autocfg v1.1.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling plain v0.2.3
[INFO] [stderr]    Compiling iced-x86 v1.17.0
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling spin v0.9.3
[INFO] [stderr]    Compiling mlsys v1.0.0 (/opt/rustwide/workdir/mlsys)
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling nix v0.24.1
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling scroll_derive v0.11.0
[INFO] [stderr]    Compiling scroll v0.11.0
[INFO] [stderr]    Compiling goblin v0.5.1
[INFO] [stderr]    Compiling mldl v1.0.0 (/opt/rustwide/workdir/mldl)
[INFO] [stderr]    Compiling mlrt v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `ldr`
[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/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/result.rs:1435:18
[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(std::ptr::null_mut()) != base {
[INFO] [stdout]    |                                           ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `ldr`
[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:59
[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]    |                                             required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <PathBuf as From<&T>>
[INFO] [stdout]              <PathBuf as From<Box<Path>>>
[INFO] [stdout]              <PathBuf as From<Cow<'a, Path>>>
[INFO] [stdout]              <PathBuf as From<OsString>>
[INFO] [stdout]              <PathBuf as From<String>>
[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:62
[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]    |                                                required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <PathBuf as From<&T>>
[INFO] [stdout]              <PathBuf as From<Box<Path>>>
[INFO] [stdout]              <PathBuf as From<Cow<'a, Path>>>
[INFO] [stdout]              <PathBuf as From<OsString>>
[INFO] [stdout]              <PathBuf as From<String>>
[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:57
[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]    |                                            required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <String as From<&String>>
[INFO] [stdout]              <String as From<&mut str>>
[INFO] [stdout]              <String as From<&str>>
[INFO] [stdout]              <String as From<Box<str>>>
[INFO] [stdout]              <String as From<Cow<'a, str>>>
[INFO] [stdout]              <String as From<char>>
[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:59
[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]     |                                             required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <PathBuf as From<&T>>
[INFO] [stdout]               <PathBuf as From<Box<Path>>>
[INFO] [stdout]               <PathBuf as From<Cow<'a, Path>>>
[INFO] [stdout]               <PathBuf as From<OsString>>
[INFO] [stdout]               <PathBuf as From<String>>
[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/1b7dd2252b99671ce5d1cb9664c5f8636329436d/library/core/src/convert/mod.rs:548:8
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mlrt` (lib) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "27f6d102742aadccce5379b6afb596003112ecece7969bdc8f24816e59204286", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27f6d102742aadccce5379b6afb596003112ecece7969bdc8f24816e59204286", kill_on_drop: false }`
[INFO] [stdout] 27f6d102742aadccce5379b6afb596003112ecece7969bdc8f24816e59204286
