[INFO] cloning repository https://github.com/xxshady/relib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xxshady/relib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxshady%2Frelib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxshady%2Frelib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 81396672ea5753ab0461d858002b4dea52eb4209
[INFO] testing xxshady/relib against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxxshady%2Frelib" "/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/xxshady/relib on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xxshady/relib
[INFO] finished tweaking git repo https://github.com/xxshady/relib
[INFO] tweaked toml for git repo https://github.com/xxshady/relib written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/xxshady/relib 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-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 519ae4248f958555febe50d2c6b992eb811a26aeab49c21fdd815a156aefd57d
[INFO] running `Command { std: "docker" "start" "-a" "519ae4248f958555febe50d2c6b992eb811a26aeab49c21fdd815a156aefd57d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "519ae4248f958555febe50d2c6b992eb811a26aeab49c21fdd815a156aefd57d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "519ae4248f958555febe50d2c6b992eb811a26aeab49c21fdd815a156aefd57d", kill_on_drop: false }`
[INFO] [stdout] 519ae4248f958555febe50d2c6b992eb811a26aeab49c21fdd815a156aefd57d
[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=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c2bb8593b412ef90cf7a08ce49284cc1a62e9a64f486a0841ff2ca14b807e25f
[INFO] running `Command { std: "docker" "start" "-a" "c2bb8593b412ef90cf7a08ce49284cc1a62e9a64f486a0841ff2ca14b807e25f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.164
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling prettyplease v0.2.25
[INFO] [stderr]    Compiling relib_internal_shared v0.3.1 (/opt/rustwide/workdir/shared)
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling core_extensions_proc_macros v1.5.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling tstr_proc_macros v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling relib_internal_crate_compilation_info v0.3.1 (/opt/rustwide/workdir/crate_compilation_info)
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tstr v0.2.4
[INFO] [stderr]    Compiling core_extensions v1.5.3
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling repr_offset v0.2.2
[INFO] [stderr]    Compiling abi_stable_shared v0.11.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.14
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]    Compiling generational-arena v0.2.9
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling const_panic v0.2.11
[INFO] [stderr]    Compiling memory-stats v1.2.0
[INFO] [stderr]    Compiling thiserror v2.0.3
[INFO] [stderr]    Compiling relib_interface v0.3.1 (/opt/rustwide/workdir/interface)
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling object v0.36.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling libloading v0.8.6
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling thread-id v5.0.0
[INFO] [stderr]    Compiling relib v0.3.1 (/opt/rustwide/workdir/relib)
[INFO] [stderr]    Compiling test_runner v0.3.1 (/opt/rustwide/workdir/testing/runner)
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling relib_exportify v0.3.1 (/opt/rustwide/workdir/exportify)
[INFO] [stderr]    Compiling as_derive_utils v0.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling thiserror-impl v2.0.3
[INFO] [stderr]    Compiling relib_host v0.3.1 (/opt/rustwide/workdir/host)
[INFO] [stderr]    Compiling relib_module v0.3.1 (/opt/rustwide/workdir/module)
[INFO] [stderr]    Compiling relib_export v0.3.1 (/opt/rustwide/workdir/export)
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling abi_stable_derive v0.11.3
[INFO] [stderr]    Compiling basic_host v0.3.1 (/opt/rustwide/workdir/examples/basic_host)
[INFO] [stderr]    Compiling abi_stable v0.11.3
[INFO] [stderr]    Compiling test_shared v0.3.1 (/opt/rustwide/workdir/testing/shared)
[INFO] [stderr]    Compiling test_module v0.3.1 (/opt/rustwide/workdir/testing/module)
[INFO] [stderr]    Compiling test_host v0.3.1 (/opt/rustwide/workdir/testing/host)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "c2bb8593b412ef90cf7a08ce49284cc1a62e9a64f486a0841ff2ca14b807e25f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2bb8593b412ef90cf7a08ce49284cc1a62e9a64f486a0841ff2ca14b807e25f", kill_on_drop: false }`
[INFO] [stdout] c2bb8593b412ef90cf7a08ce49284cc1a62e9a64f486a0841ff2ca14b807e25f
[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=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c71ed1be6d394caf49bcb6f07caa7d8bcd89be91d1f449731e66932b8730aa64
[INFO] running `Command { std: "docker" "start" "-a" "c71ed1be6d394caf49bcb6f07caa7d8bcd89be91d1f449731e66932b8730aa64", kill_on_drop: false }`
[INFO] [stderr]    Compiling relib_export v0.3.1 (/opt/rustwide/workdir/export)
[INFO] [stderr]    Compiling relib_host v0.3.1 (/opt/rustwide/workdir/host)
[INFO] [stderr]    Compiling basic_host v0.3.1 (/opt/rustwide/workdir/examples/basic_host)
[INFO] [stderr]    Compiling test_host v0.3.1 (/opt/rustwide/workdir/testing/host)
[INFO] [stderr]    Compiling test_shared v0.3.1 (/opt/rustwide/workdir/testing/shared)
[INFO] [stderr]    Compiling relib_exportify v0.3.1 (/opt/rustwide/workdir/exportify)
[INFO] [stderr]    Compiling relib_internal_crate_compilation_info v0.3.1 (/opt/rustwide/workdir/crate_compilation_info)
[INFO] [stderr]    Compiling relib_interface v0.3.1 (/opt/rustwide/workdir/interface)
[INFO] [stderr]    Compiling test_runner v0.3.1 (/opt/rustwide/workdir/testing/runner)
[INFO] [stderr]    Compiling relib_internal_shared v0.3.1 (/opt/rustwide/workdir/shared)
[INFO] [stderr]    Compiling relib v0.3.1 (/opt/rustwide/workdir/relib)
[INFO] [stderr]    Compiling relib_module v0.3.1 (/opt/rustwide/workdir/module)
[INFO] [stderr]    Compiling test_module v0.3.1 (/opt/rustwide/workdir/testing/module)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.01s
[INFO] running `Command { std: "docker" "inspect" "c71ed1be6d394caf49bcb6f07caa7d8bcd89be91d1f449731e66932b8730aa64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c71ed1be6d394caf49bcb6f07caa7d8bcd89be91d1f449731e66932b8730aa64", kill_on_drop: false }`
[INFO] [stdout] c71ed1be6d394caf49bcb6f07caa7d8bcd89be91d1f449731e66932b8730aa64
[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=forbid -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7a7d68ff43fef3fdf17e6db21ca8812745c20480a2e5c6d1fe891d3192430ad6
[INFO] running `Command { std: "docker" "start" "-a" "7a7d68ff43fef3fdf17e6db21ca8812745c20480a2e5c6d1fe891d3192430ad6", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/basic_host-72f2ed558986c1dc)
[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] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib-c30d76758c452ace)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib_export-f2d506bddff62787)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib_exportify-b8121ce83aaae53e)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[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] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib_host-c5f818da7f2f5e95)
[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] [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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib_interface-98626d6f62be3089)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib_internal_crate_compilation_info-213e60b36c798051)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib_internal_shared-87afd641174901a6)
[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]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib_module-9dfd5b7d8c79a378)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/test_host-dded4e8d1e876deb)
[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] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/test_module-d280c86a914a8b88)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/test_runner-20a3656d124e15d6)
[INFO] [stdout] 
[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] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/test_shared-f18c6d00ad62c58c)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests relib
[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] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test relib/src/lib.rs - (line 164) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 137) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - (line 134) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 153) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - (line 156) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 181) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - (line 177) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - (line 58) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - (line 96) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 219) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 167) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 202) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 227) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 264) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 241) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 96) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 364) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 390) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 47) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 275) ... ok
[INFO] [stdout] test relib/src/lib.rs - docs (line 341) ... FAILED
[INFO] [stdout] test relib/src/lib.rs - docs (line 315) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- relib/src/lib.rs - (line 164) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:167:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |   fn ret_ref<'a>(str: RStr<'a>) -> RStr<'a>;
[INFO] [stdout]   |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:167:36
[INFO] [stdout]   |
[INFO] [stdout] 5 |   fn ret_ref<'a>(str: RStr<'a>) -> RStr<'a>;
[INFO] [stdout]   |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 137) stdout ----
[INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute
[INFO] [stdout]  --> relib/src/lib.rs:139:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod exports;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute
[INFO] [stdout]  --> relib/src/lib.rs:140:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub mod imports;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `relib/src/exports.rs`: No such file or directory (os error 2)
[INFO] [stdout]  --> relib/src/lib.rs:142:27
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const EXPORTS: &str = include_str!("exports.rs");
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `relib/src/imports.rs`: No such file or directory (os error 2)
[INFO] [stdout]  --> relib/src/lib.rs:143:27
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const IMPORTS: &str = include_str!("imports.rs");
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - (line 134) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:137:19
[INFO] [stdout]   |
[INFO] [stdout] 5 |   fn ret_ref(str: RStr) -> RStr;
[INFO] [stdout]   |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:137:28
[INFO] [stdout]   |
[INFO] [stdout] 5 |   fn ret_ref(str: RStr) -> RStr;
[INFO] [stdout]   |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ModuleExportsImpl` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:141:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl Exports for ModuleExportsImpl {
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]   --> relib/src/lib.rs:142:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |   fn ret_ref(str: RStr) -> RStr {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]   --> relib/src/lib.rs:142:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |   fn ret_ref(str: RStr) -> RStr {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 153) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_interface`
[INFO] [stdout]  --> relib/src/lib.rs:158:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   relib_interface::host::generate(
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^ use of undeclared crate or module `relib_interface`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared`
[INFO] [stdout]  --> relib/src/lib.rs:159:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     shared::EXPORTS,
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `shared`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared`
[INFO] [stdout]   --> relib/src/lib.rs:161:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     shared::IMPORTS,
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `shared`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - (line 156) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:158:23
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn ret_ref<'a>(str: RStr<'a>) -> RStr<'a>;
[INFO] [stdout]   |                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:158:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn ret_ref<'a>(str: RStr<'a>) -> RStr<'a>;
[INFO] [stdout]   |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 181) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_interface`
[INFO] [stdout]  --> relib/src/lib.rs:187:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | relib_interface::include_imports!();
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ use of undeclared crate or module `relib_interface`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_interface`
[INFO] [stdout]  --> relib/src/lib.rs:186:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | relib_interface::include_exports!();
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ use of undeclared crate or module `relib_interface`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - (line 177) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:179:31
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn returns_b<'a, 'b: 'a>(a: RStr<'a>, b: RStr<'b>) -> RStr<'a> {
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:179:44
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn returns_b<'a, 'b: 'a>(a: RStr<'a>, b: RStr<'b>) -> RStr<'a> {
[INFO] [stdout]   |                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:179:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |   fn returns_b<'a, 'b: 'a>(a: RStr<'a>, b: RStr<'b>) -> RStr<'a> {
[INFO] [stdout]   |                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - (line 58) stdout ----
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> relib/src/lib.rs:69:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Clone for MemoryChunk { ... }
[INFO] [stdout]    |                            - ^^^ - item list ends here
[INFO] [stdout]    |                            | |
[INFO] [stdout]    |                            | non-item starts here
[INFO] [stdout]    |                            item list starts here
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> relib/src/lib.rs:72:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Drop for MemoryChunk { ... }
[INFO] [stdout]    |                           - ^^^ - item list ends here
[INFO] [stdout]    |                           | |
[INFO] [stdout]    |                           | non-item starts here
[INFO] [stdout]    |                           item list starts here
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> relib/src/lib.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     MemoryChunk { ... }
[INFO] [stdout]    |     -----------   ^^^ expected identifier
[INFO] [stdout]    |     |
[INFO] [stdout]    |     while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Imports` in this scope
[INFO] [stdout]   --> relib/src/lib.rs:75:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Imports for ModuleImportsImpl {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ModuleImportsImpl` in this scope
[INFO] [stdout]   --> relib/src/lib.rs:75:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Imports for ModuleImportsImpl {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `clone`
[INFO] [stdout]   --> relib/src/lib.rs:69:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Clone for MemoryChunk { ... }
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `clone` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn clone(&self) -> Self { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `drop`
[INFO] [stdout]   --> relib/src/lib.rs:72:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Drop for MemoryChunk { ... }
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn drop(&mut self) { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]   --> relib/src/lib.rs:83:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | let chunk: MemoryChunk = unsafe { gen_imports::example() }; // gen_imports is defined by relib_interface::include_imports!()
[INFO] [stdout]    |                                   ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - (line 96) stdout ----
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> relib/src/lib.rs:107:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Clone for MemoryChunk { ... }
[INFO] [stdout]    |                            - ^^^ - item list ends here
[INFO] [stdout]    |                            | |
[INFO] [stdout]    |                            | non-item starts here
[INFO] [stdout]    |                            item list starts here
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> relib/src/lib.rs:110:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Drop for MemoryChunk { ... }
[INFO] [stdout]    |                           - ^^^ - item list ends here
[INFO] [stdout]    |                           | |
[INFO] [stdout]    |                           | non-item starts here
[INFO] [stdout]    |                           item list starts here
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> relib/src/lib.rs:121:27
[INFO] [stdout]    |
[INFO] [stdout] 28 | let chunk = MemoryChunk { ... };
[INFO] [stdout]    |             -----------   ^^^ expected identifier
[INFO] [stdout]    |             |
[INFO] [stdout]    |             while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Imports` in this scope
[INFO] [stdout]   --> relib/src/lib.rs:113:6
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Imports for ModuleImportsImpl {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ModuleImportsImpl` in this scope
[INFO] [stdout]   --> relib/src/lib.rs:113:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Imports for ModuleImportsImpl {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `clone`
[INFO] [stdout]   --> relib/src/lib.rs:107:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Clone for MemoryChunk { ... }
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `clone` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn clone(&self) -> Self { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `drop`
[INFO] [stdout]   --> relib/src/lib.rs:110:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Drop for MemoryChunk { ... }
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `drop` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `fn drop(&mut self) { todo!() }`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]   --> relib/src/lib.rs:122:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | unsafe { gen_imports::example(&chunk) }; // gen_imports is defined by relib_interface::include_imports!()
[INFO] [stdout]    |          ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 219) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `path_to_dylib` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:222:3
[INFO] [stdout]   |
[INFO] [stdout] 6 |   path_to_dylib,
[INFO] [stdout]   |   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_host`
[INFO] [stdout]  --> relib/src/lib.rs:221:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | let module = relib_host::load_module::<()>(
[INFO] [stdout]   |              ^^^^^^^^^^ use of undeclared crate or module `relib_host`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]  --> relib/src/lib.rs:223:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   gen_imports::init_imports
[INFO] [stdout]   |   ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 167) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_interface`
[INFO] [stdout]  --> relib/src/lib.rs:172:3
[INFO] [stdout]   |
[INFO] [stdout] 7 |   relib_interface::module::generate(
[INFO] [stdout]   |   ^^^^^^^^^^^^^^^ use of undeclared crate or module `relib_interface`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared`
[INFO] [stdout]  --> relib/src/lib.rs:173:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     shared::EXPORTS,
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `shared`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared`
[INFO] [stdout]   --> relib/src/lib.rs:175:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     shared::IMPORTS,
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `shared`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 202) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared`
[INFO] [stdout]   --> relib/src/lib.rs:212:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl {
[INFO] [stdout]    |      ^^^^^^ use of undeclared crate or module `shared`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]   --> relib/src/lib.rs:212:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 227) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]   --> relib/src/lib.rs:234:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | let value = unsafe { gen_imports::foo() }; // gen_imports is defined by relib_interface::include_imports!()
[INFO] [stdout]    |                      ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 264) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `module` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:266:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | let value: Option<u8> = unsafe { module.exports().bar() };
[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] ---- relib/src/lib.rs - docs (line 241) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared`
[INFO] [stdout]   --> relib/src/lib.rs:250:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl shared::exports::Exports for gen_exports::ModuleExportsImpl {
[INFO] [stdout]    |      ^^^^^^ use of undeclared crate or module `shared`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `path_to_dylib` in this scope
[INFO] [stdout]   --> relib/src/lib.rs:258:3
[INFO] [stdout]    |
[INFO] [stdout] 20 |   path_to_dylib,
[INFO] [stdout]    |   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_exports`
[INFO] [stdout]   --> relib/src/lib.rs:250:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl shared::exports::Exports for gen_exports::ModuleExportsImpl {
[INFO] [stdout]    |                                   ^^^^^^^^^^^ use of undeclared crate or module `gen_exports`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_host`
[INFO] [stdout]   --> relib/src/lib.rs:257:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | let module = relib_host::load_module::<gen_exports::ModuleExports>(
[INFO] [stdout]    |              ^^^^^^^^^^ use of undeclared crate or module `relib_host`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_exports`
[INFO] [stdout]   --> relib/src/lib.rs:257:40
[INFO] [stdout]    |
[INFO] [stdout] 19 | let module = relib_host::load_module::<gen_exports::ModuleExports>(
[INFO] [stdout]    |                                        ^^^^^^^^^^^ use of undeclared crate or module `gen_exports`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]   --> relib/src/lib.rs:259:3
[INFO] [stdout]    |
[INFO] [stdout] 21 |   gen_imports::init_imports
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 96) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_module`
[INFO] [stdout]  --> relib/src/lib.rs:98:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[relib_module::export]
[INFO] [stdout]   |   ^^^^^^^^^^^^ use of undeclared crate or module `relib_module`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 364) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `load_module` in crate `relib`
[INFO] [stdout]  --> relib/src/lib.rs:368:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = relib::load_module::<ModuleExports>("...")?;
[INFO] [stdout]   |                     ^^^^^^^^^^^ not found in `relib`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ModuleExports` in this scope
[INFO] [stdout]  --> relib/src/lib.rs:368:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | let module = relib::load_module::<ModuleExports>("...")?;
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn main() { #[allow(non_snake_case)] fn _doctest_main_relib_src_lib_rs_364_0<ModuleExports>() {
[INFO] [stdout]   |                                                                             +++++++++++++++
[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] ---- relib/src/lib.rs - docs (line 390) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `shared`
[INFO] [stdout]  --> relib/src/lib.rs:394:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl {
[INFO] [stdout]   |      ^^^^^^ use of undeclared crate or module `shared`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]  --> relib/src/lib.rs:394:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl {
[INFO] [stdout]   |                                   ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gen_imports`
[INFO] [stdout]   --> relib/src/lib.rs:403:3
[INFO] [stdout]    |
[INFO] [stdout] 16 |   gen_imports::panics();
[INFO] [stdout]    |   ^^^^^^^^^^^ use of undeclared crate or module `gen_imports`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 47) stdout ----
[INFO] [stdout] warning: unexpected `cfg` condition value: `unloading`
[INFO] [stdout]   --> relib/src/lib.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |   #[cfg(feature = "unloading")]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `unloading` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `relib_host`
[INFO] [stdout]   --> relib/src/lib.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |   let module = relib_host::load_module::<()>(path_to_dylib, ()).unwrap_or_else(|e| {
[INFO] [stdout]    |                ^^^^^^^^^^ use of undeclared crate or module `relib_host`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- relib/src/lib.rs - docs (line 341) stdout ----
[INFO] [stdout] error[E0599]: no method named `with` found for struct `DropWithAlloc` in the current scope
[INFO] [stdout]   --> relib/src/lib.rs:355:15
[INFO] [stdout]    |
[INFO] [stdout] 3  | struct DropWithAlloc;
[INFO] [stdout]    | -------------------- method `with` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 | DropWithAlloc.with(|_| {}); // initialize it
[INFO] [stdout]    |               ^^^^ method not found in `DropWithAlloc`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     relib/src/lib.rs - (line 134)
[INFO] [stdout]     relib/src/lib.rs - (line 156)
[INFO] [stdout]     relib/src/lib.rs - (line 164)
[INFO] [stdout]     relib/src/lib.rs - (line 177)
[INFO] [stdout]     relib/src/lib.rs - (line 58)
[INFO] [stdout]     relib/src/lib.rs - (line 96)
[INFO] [stdout]     relib/src/lib.rs - docs (line 137)
[INFO] [stdout]     relib/src/lib.rs - docs (line 153)
[INFO] [stdout]     relib/src/lib.rs - docs (line 167)
[INFO] [stdout]     relib/src/lib.rs - docs (line 181)
[INFO] [stdout]     relib/src/lib.rs - docs (line 202)
[INFO] [stdout]     relib/src/lib.rs - docs (line 219)
[INFO] [stdout]     relib/src/lib.rs - docs (line 227)
[INFO] [stdout]     relib/src/lib.rs - docs (line 241)
[INFO] [stdout]     relib/src/lib.rs - docs (line 264)
[INFO] [stdout]     relib/src/lib.rs - docs (line 341)
[INFO] [stdout]     relib/src/lib.rs - docs (line 364)
[INFO] [stdout]     relib/src/lib.rs - docs (line 390)
[INFO] [stdout]     relib/src/lib.rs - docs (line 47)
[INFO] [stdout]     relib/src/lib.rs - docs (line 96)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.28s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p relib --doc`
[INFO] running `Command { std: "docker" "inspect" "7a7d68ff43fef3fdf17e6db21ca8812745c20480a2e5c6d1fe891d3192430ad6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a7d68ff43fef3fdf17e6db21ca8812745c20480a2e5c6d1fe891d3192430ad6", kill_on_drop: false }`
[INFO] [stdout] 7a7d68ff43fef3fdf17e6db21ca8812745c20480a2e5c6d1fe891d3192430ad6
