[INFO] fetching crate dlopen-rs 0.3.1...
[INFO] testing dlopen-rs-0.3.1 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate dlopen-rs 0.3.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate dlopen-rs 0.3.1 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate dlopen-rs 0.3.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate dlopen-rs 0.3.1
[INFO] tweaked toml for crates.io crate dlopen-rs 0.3.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate dlopen-rs 0.3.1 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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unwinding v0.2.2
[INFO] [stderr]   Downloaded elf v0.7.4
[INFO] [stderr]   Downloaded gimli v0.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7193b4ac2b95ca79fa0a0b4498652e57a93bdd127dab7c30d5853e80efe6592b
[INFO] running `Command { std: "docker" "start" "-a" "7193b4ac2b95ca79fa0a0b4498652e57a93bdd127dab7c30d5853e80efe6592b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7193b4ac2b95ca79fa0a0b4498652e57a93bdd127dab7c30d5853e80efe6592b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7193b4ac2b95ca79fa0a0b4498652e57a93bdd127dab7c30d5853e80efe6592b", kill_on_drop: false }`
[INFO] [stdout] 7193b4ac2b95ca79fa0a0b4498652e57a93bdd127dab7c30d5853e80efe6592b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 611f18560bfb71eba19a606f2195c8308af63f570e6191083867514de2cd5cef
[INFO] running `Command { std: "docker" "start" "-a" "611f18560bfb71eba19a606f2195c8308af63f570e6191083867514de2cd5cef", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling elf v0.7.4
[INFO] [stderr]    Compiling gimli v0.30.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling dlopen-rs v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s
[INFO] running `Command { std: "docker" "inspect" "611f18560bfb71eba19a606f2195c8308af63f570e6191083867514de2cd5cef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "611f18560bfb71eba19a606f2195c8308af63f570e6191083867514de2cd5cef", kill_on_drop: false }`
[INFO] [stdout] 611f18560bfb71eba19a606f2195c8308af63f570e6191083867514de2cd5cef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e25d884aead28aab6fee0c65c09fa951c3bb866b028732c554e1678c008666c
[INFO] running `Command { std: "docker" "start" "-a" "5e25d884aead28aab6fee0c65c09fa951c3bb866b028732c554e1678c008666c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libloading v0.8.5
[INFO] [stderr]    Compiling dlopen-rs v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] running `Command { std: "docker" "inspect" "5e25d884aead28aab6fee0c65c09fa951c3bb866b028732c554e1678c008666c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e25d884aead28aab6fee0c65c09fa951c3bb866b028732c554e1678c008666c", kill_on_drop: false }`
[INFO] [stdout] 5e25d884aead28aab6fee0c65c09fa951c3bb866b028732c554e1678c008666c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 33c2c37a617732dd6fa2eb47aabc82f28d1410ba9f47230603d3ff907ea262d3
[INFO] running `Command { std: "docker" "start" "-a" "33c2c37a617732dd6fa2eb47aabc82f28d1410ba9f47230603d3ff907ea262d3", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dlopen_rs-2e4fe566f9f7d58a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests dlopen_rs
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test src/dlopen.rs - dlopen::ELFLibrary::dlopen (line 18) - compile ... ok
[INFO] [stdout] test src/loader/ldso.rs - loader::ldso::ELFLibrary::sys_load (line 63) - compile ... ok
[INFO] [stdout] test src/loader/dso/mod.rs - loader::dso::ELFLibrary::from_file (line 180) - compile ... ok
[INFO] [stdout] test src/loader/mod.rs - loader::RelocatedLibrary::dep_libs (line 107) - compile ... FAILED
[INFO] [stdout] test src/loader/mod.rs - loader::ExternLibrary::get_sym (line 267) ... FAILED
[INFO] [stdout] test src/loader/mod.rs - loader::RelocatedLibrary::get (line 183) - compile ... ok
[INFO] [stdout] test src/loader/mod.rs - loader::RelocatedLibrary::get (line 203) - compile ... FAILED
[INFO] [stdout] test src/loader/mod.rs - loader::RelocatedLibrary::get (line 193) - compile ... FAILED
[INFO] [stdout] test src/loader/dso/mod.rs - loader::dso::ELFLibrary::from_binary (line 234) - compile ... FAILED
[INFO] [stdout] test src/loader/mod.rs - loader::RelocatedLibrary::name (line 130) - compile ... FAILED
[INFO] [stdout] test src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate (line 27) - compile ... FAILED
[INFO] [stdout] test src/loader/dso/mod.rs - loader::dso::ELFLibrary::from_open_file (line 214) ... FAILED
[INFO] [stdout] test src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate_with (line 43) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 12) ... FAILED
[INFO] [stdout] test src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate_with_func (line 93) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/loader/mod.rs - loader::RelocatedLibrary::dep_libs (line 107) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `library` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:108:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | if let Some(dependencies) = library.dep_libs() {
[INFO] [stdout]   |                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/loader/mod.rs - loader::ExternLibrary::get_sym (line 267) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:269:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct MyLib(Arc<Library>);
[INFO] [stdout]   |              ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Library` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:269:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct MyLib(Arc<Library>);
[INFO] [stdout]   |                  ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::Library;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::os::unix::Library;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ExternLibrary` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:271:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl ExternLibrary for MyLib {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dlopen_rs::ExternLibrary;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/loader/mod.rs - loader::RelocatedLibrary::get (line 203) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:205:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let awesome_variable: Symbol<*mut f64> = lib.get("awesome_variable").unwrap();
[INFO] [stdout]   |                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dlopen_rs::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use elf::symbol::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::os::unix::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `lib` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:205:46
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let awesome_variable: Symbol<*mut f64> = lib.get("awesome_variable").unwrap();
[INFO] [stdout]   |                                              ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/loader/mod.rs - loader::RelocatedLibrary::get (line 193) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:195:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let awesome_function: Symbol<unsafe extern fn(f64) -> f64> =
[INFO] [stdout]   |                           ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dlopen_rs::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use elf::symbol::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::os::unix::Symbol;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `lib` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:196:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         lib.get("awesome_function").unwrap();
[INFO] [stdout]   |         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/loader/dso/mod.rs - loader::dso::ELFLibrary::from_binary (line 234) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]  --> src/loader/dso/mod.rs:237:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | let path = Path::new("/path/to/awesome.module");
[INFO] [stdout]   |            ^^^^ use of undeclared type `Path`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/loader/dso/mod.rs:239:11
[INFO] [stdout]     |
[INFO] [stdout] 8   | let lib = ELFLibrary::from_binary(&bytes).unwarp();
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^-------- argument #2 is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/loader/dso/mod.rs:240:12
[INFO] [stdout]     |
[INFO] [stdout] 240 |     pub fn from_binary(bytes: &[u8], name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 8   | let lib = ELFLibrary::from_binary(&bytes, /* name */).unwarp();
[INFO] [stdout]     |                                  ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwarp` found for enum `Result` in the current scope
[INFO] [stdout]  --> src/loader/dso/mod.rs:239:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | let lib = ELFLibrary::from_binary(&bytes).unwarp();
[INFO] [stdout]   |                                           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `unwrap` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | let lib = ELFLibrary::from_binary(&bytes).unwrap();
[INFO] [stdout]   |                                           ~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/loader/mod.rs - loader::RelocatedLibrary::name (line 130) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `library` in this scope
[INFO] [stdout]  --> src/loader/mod.rs:131:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let library_name = library.name();
[INFO] [stdout]   |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate (line 27) stdout ----
[INFO] [stdout] error[E0599]: no function or associated item named `load_self` found for struct `ELFLibrary` in the current scope
[INFO] [stdout]    --> src/loader/relocation.rs:30:24
[INFO] [stdout]     |
[INFO] [stdout] 6   | let libc = ELFLibrary::load_self("libc").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ function or associated item not found in `ELFLibrary`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `ELFLibrary` consider using one of the following associated functions:
[INFO] [stdout]       ELFLibrary::from_file
[INFO] [stdout]       ELFLibrary::from_open_file
[INFO] [stdout]       ELFLibrary::from_binary
[INFO] [stdout]    --> /opt/rustwide/workdir/src/loader/dso/mod.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn from_file<P: AsRef<std::ffi::OsStr>>(path: P) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn from_open_file(file: std::fs::File, name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn from_binary(bytes: &[u8], name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_self` found for struct `ELFLibrary` in the current scope
[INFO] [stdout]    --> src/loader/relocation.rs:31:26
[INFO] [stdout]     |
[INFO] [stdout] 7   | let libgcc = ELFLibrary::load_self("libgcc").unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ function or associated item not found in `ELFLibrary`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `ELFLibrary` consider using one of the following associated functions:
[INFO] [stdout]       ELFLibrary::from_file
[INFO] [stdout]       ELFLibrary::from_open_file
[INFO] [stdout]       ELFLibrary::from_binary
[INFO] [stdout]    --> /opt/rustwide/workdir/src/loader/dso/mod.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn from_file<P: AsRef<std::ffi::OsStr>>(path: P) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn from_open_file(file: std::fs::File, name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn from_binary(bytes: &[u8], name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/loader/dso/mod.rs - loader::dso::ELFLibrary::from_open_file (line 214) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] thread 'main' panicked at src/loader/dso/mod.rs:8:38:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58e453defc3a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x58e453defc3a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x58e453defc3a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x58e453defc3a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x58e453e0c253 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x58e453e0c253 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x58e453ded6a3 - std::io::Write::write_fmt::hf1c1dcc8cc1287f0
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x58e453defa82 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x58e453df0a4c - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x58e453df0892 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:295:9
[INFO] [stdout]   10:     0x58e453df1047 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:801:13
[INFO] [stdout]   11:     0x58e453df0eda - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   12:     0x58e453df0119 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   13:     0x58e453df0b6c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   14:     0x58e453e0b350 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   15:     0x58e453e0b766 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   16:     0x58e453db032f - rust_out::main::_doctest_main_src_loader_dso_mod_rs_214_0::h461eacefadd2fe5b
[INFO] [stdout]   17:     0x58e453db02c6 - rust_out::main::ha213a30daa5df4da
[INFO] [stdout]   18:     0x58e453daee83 - core::ops::function::FnOnce::call_once::hf7edf7132571051c
[INFO] [stdout]   19:     0x58e453daed46 - std::sys::backtrace::__rust_begin_short_backtrace::h32fd822fd2ba4079
[INFO] [stdout]   20:     0x58e453daed29 - std::rt::lang_start::{{closure}}::h4039a1c394ed4f7c
[INFO] [stdout]   21:     0x58e453deb7f7 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd87d66b906e0ccaf
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:284:13
[INFO] [stdout]   22:     0x58e453deb7f7 - std::panicking::try::do_call::hae3703de71fc9e3a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   23:     0x58e453deb7f7 - std::panicking::try::h1178330e9a2b2645
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   24:     0x58e453deb7f7 - std::panic::catch_unwind::h0acf49d2305d32ad
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   25:     0x58e453deb7f7 - std::rt::lang_start_internal::{{closure}}::h2d95182d798177be
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:48
[INFO] [stdout]   26:     0x58e453deb7f7 - std::panicking::try::do_call::hb506f5bfe11fd30c
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   27:     0x58e453deb7f7 - std::panicking::try::h54d825c46bd0fa95
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   28:     0x58e453deb7f7 - std::panic::catch_unwind::hffbb0ad20c4e9fac
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   29:     0x58e453deb7f7 - std::rt::lang_start_internal::h52c291ef1962c925
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:20
[INFO] [stdout]   30:     0x58e453daed07 - std::rt::lang_start::h8c6075cd6f225ba1
[INFO] [stdout]   31:     0x58e453db0485 - main
[INFO] [stdout]   32:     0x78dd24299d90 - <unknown>
[INFO] [stdout]   33:     0x78dd24299e40 - __libc_start_main
[INFO] [stdout]   34:     0x58e453daeb65 - _start
[INFO] [stdout]   35:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate_with (line 43) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]  --> src/loader/relocation.rs:45:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct MyLib(Arc<Library>);
[INFO] [stdout]   |              ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::sync::Arc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Library` in this scope
[INFO] [stdout]  --> src/loader/relocation.rs:45:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct MyLib(Arc<Library>);
[INFO] [stdout]   |                  ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::Library;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use libloading::os::unix::Library;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `ExternLibrary` in this scope
[INFO] [stdout]  --> src/loader/relocation.rs:46:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl ExternLibrary for MyLib {
[INFO] [stdout]   |      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use dlopen_rs::ExternLibrary;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/loader/relocation.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 15 | let libc = MyLib(Arc::new(unsafe {
[INFO] [stdout]    |                  ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Library`
[INFO] [stdout]   --> src/loader/relocation.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 16 |    Library::new("/lib/x86_64-linux-gnu/libc.so.6").unwrap()
[INFO] [stdout]    |    ^^^^^^^ use of undeclared type `Library`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libloading::Library;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libloading::os::unix::Library;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]   --> src/loader/relocation.rs:59:20
[INFO] [stdout]    |
[INFO] [stdout] 18 | let libgcc = MyLib(Arc::new(unsafe {
[INFO] [stdout]    |                    ^^^ use of undeclared type `Arc`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::sync::Arc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Library`
[INFO] [stdout]   --> src/loader/relocation.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 19 |    Library::new("/lib/x86_64-linux-gnu/libgcc_s.so.1").unwrap()
[INFO] [stdout]    |    ^^^^^^^ use of undeclared type `Library`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libloading::Library;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use libloading::os::unix::Library;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ELFLibrary`
[INFO] [stdout]   --> src/loader/relocation.rs:62:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | let libexample = ELFLibrary::from_file("/path/to/awesome.module")
[INFO] [stdout]    |                  ^^^^^^^^^^ use of undeclared type `ELFLibrary`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use dlopen_rs::ELFLibrary;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 12) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] thread 'main' panicked at src/lib.rs:11:9:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: IOError { err: Os { code: 2, kind: NotFound, message: "No such file or directory" } }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56ede46f2c7a - std::backtrace_rs::backtrace::libunwind::trace::h207520d6e9873551
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x56ede46f2c7a - std::backtrace_rs::backtrace::trace_unsynchronized::h2ed7433f370e3eca
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x56ede46f2c7a - std::sys::backtrace::_print_fmt::h916fac51166b18d7
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x56ede46f2c7a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha0a4c9b8ce3802e6
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x56ede470f7e3 - core::fmt::rt::Argument::fmt::h4cfc8587d52b3eb5
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x56ede470f7e3 - core::fmt::write::h522cc39e5b36ae9f
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/fmt/mod.rs:1190:21
[INFO] [stdout]    6:     0x56ede46f05b3 - std::io::Write::write_fmt::hf1c1dcc8cc1287f0
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/io/mod.rs:1839:15
[INFO] [stdout]    7:     0x56ede46f2ac2 - std::sys::backtrace::BacktraceLock::print::h4b9e00b29e9c0942
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x56ede46f3a8c - std::panicking::default_hook::{{closure}}::hb59b88280d0324d9
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x56ede46f38d2 - std::panicking::default_hook::he1dd496665be4a29
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:295:9
[INFO] [stdout]   10:     0x56ede46f4087 - std::panicking::rust_panic_with_hook::h2ff17fe8f26dfcf8
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:801:13
[INFO] [stdout]   11:     0x56ede46f3f1a - std::panicking::begin_panic_handler::{{closure}}::h4fad77951c07e101
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:674:13
[INFO] [stdout]   12:     0x56ede46f3159 - std::sys::backtrace::__rust_end_short_backtrace::hb1a25b3da5d0ea08
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   13:     0x56ede46f3bac - rust_begin_unwind
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:665:5
[INFO] [stdout]   14:     0x56ede470e8e0 - core::panicking::panic_fmt::ha9db07b529f9b256
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/panicking.rs:75:14
[INFO] [stdout]   15:     0x56ede470ecf6 - core::result::unwrap_failed::h5e8218e4d4338b8a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/result.rs:1698:5
[INFO] [stdout]   16:     0x56ede46aa6b4 - rust_out::main::_doctest_main_src_lib_rs_12_0::he444b11ca4cdb676
[INFO] [stdout]   17:     0x56ede46aa3b6 - rust_out::main::ha213a30daa5df4da
[INFO] [stdout]   18:     0x56ede46a7ec3 - core::ops::function::FnOnce::call_once::hf7edf7132571051c
[INFO] [stdout]   19:     0x56ede46a7ce6 - std::sys::backtrace::__rust_begin_short_backtrace::h32fd822fd2ba4079
[INFO] [stdout]   20:     0x56ede46a7c59 - std::rt::lang_start::{{closure}}::h4039a1c394ed4f7c
[INFO] [stdout]   21:     0x56ede46edd97 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd87d66b906e0ccaf
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/ops/function.rs:284:13
[INFO] [stdout]   22:     0x56ede46edd97 - std::panicking::try::do_call::hae3703de71fc9e3a
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   23:     0x56ede46edd97 - std::panicking::try::h1178330e9a2b2645
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   24:     0x56ede46edd97 - std::panic::catch_unwind::h0acf49d2305d32ad
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   25:     0x56ede46edd97 - std::rt::lang_start_internal::{{closure}}::h2d95182d798177be
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:48
[INFO] [stdout]   26:     0x56ede46edd97 - std::panicking::try::do_call::hb506f5bfe11fd30c
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:557:40
[INFO] [stdout]   27:     0x56ede46edd97 - std::panicking::try::h54d825c46bd0fa95
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panicking.rs:520:19
[INFO] [stdout]   28:     0x56ede46edd97 - std::panic::catch_unwind::hffbb0ad20c4e9fac
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/panic.rs:358:14
[INFO] [stdout]   29:     0x56ede46edd97 - std::rt::lang_start_internal::h52c291ef1962c925
[INFO] [stdout]                                at /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/std/src/rt.rs:174:20
[INFO] [stdout]   30:     0x56ede46a7c37 - std::rt::lang_start::h8c6075cd6f225ba1
[INFO] [stdout]   31:     0x56ede46aaaf5 - main
[INFO] [stdout]   32:     0x7e94f9adad90 - <unknown>
[INFO] [stdout]   33:     0x7e94f9adae40 - __libc_start_main
[INFO] [stdout]   34:     0x56ede46a7955 - _start
[INFO] [stdout]   35:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate_with_func (line 93) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `size_t` in this scope
[INFO] [stdout]  --> src/loader/relocation.rs:96:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern "C" fn mymalloc(size: size_t) -> *mut c_void {
[INFO] [stdout]   |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]  --> src/loader/relocation.rs:96:46
[INFO] [stdout]   |
[INFO] [stdout] 6 | extern "C" fn mymalloc(size: size_t) -> *mut c_void {
[INFO] [stdout]   |                                              ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::raw::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ffi::c_void;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_self` found for struct `ELFLibrary` in the current scope
[INFO] [stdout]    --> src/loader/relocation.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 10  | let libc = ELFLibrary::load_self("libc").unwrap();
[INFO] [stdout]     |                        ^^^^^^^^^ function or associated item not found in `ELFLibrary`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `ELFLibrary` consider using one of the following associated functions:
[INFO] [stdout]       ELFLibrary::from_file
[INFO] [stdout]       ELFLibrary::from_open_file
[INFO] [stdout]       ELFLibrary::from_binary
[INFO] [stdout]    --> /opt/rustwide/workdir/src/loader/dso/mod.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn from_file<P: AsRef<std::ffi::OsStr>>(path: P) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn from_open_file(file: std::fs::File, name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn from_binary(bytes: &[u8], name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_self` found for struct `ELFLibrary` in the current scope
[INFO] [stdout]    --> src/loader/relocation.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 11  | let libgcc = ELFLibrary::load_self("libgcc").unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^ function or associated item not found in `ELFLibrary`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `ELFLibrary` consider using one of the following associated functions:
[INFO] [stdout]       ELFLibrary::from_file
[INFO] [stdout]       ELFLibrary::from_open_file
[INFO] [stdout]       ELFLibrary::from_binary
[INFO] [stdout]    --> /opt/rustwide/workdir/src/loader/dso/mod.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     pub fn from_file<P: AsRef<std::ffi::OsStr>>(path: P) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     pub fn from_open_file(file: std::fs::File, name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn from_binary(bytes: &[u8], name: impl AsRef<str>) -> Result<ELFLibrary> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 12)
[INFO] [stdout]     src/loader/dso/mod.rs - loader::dso::ELFLibrary::from_binary (line 234)
[INFO] [stdout]     src/loader/dso/mod.rs - loader::dso::ELFLibrary::from_open_file (line 214)
[INFO] [stdout]     src/loader/mod.rs - loader::ExternLibrary::get_sym (line 267)
[INFO] [stdout]     src/loader/mod.rs - loader::RelocatedLibrary::dep_libs (line 107)
[INFO] [stdout]     src/loader/mod.rs - loader::RelocatedLibrary::get (line 193)
[INFO] [stdout]     src/loader/mod.rs - loader::RelocatedLibrary::get (line 203)
[INFO] [stdout]     src/loader/mod.rs - loader::RelocatedLibrary::name (line 130)
[INFO] [stdout]     src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate (line 27)
[INFO] [stdout]     src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate_with (line 43)
[INFO] [stdout]     src/loader/relocation.rs - loader::relocation::ELFLibrary::relocate_with_func (line 93)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 4 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "33c2c37a617732dd6fa2eb47aabc82f28d1410ba9f47230603d3ff907ea262d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33c2c37a617732dd6fa2eb47aabc82f28d1410ba9f47230603d3ff907ea262d3", kill_on_drop: false }`
[INFO] [stdout] 33c2c37a617732dd6fa2eb47aabc82f28d1410ba9f47230603d3ff907ea262d3
