[INFO] fetching crate relib 0.7.1... [INFO] testing relib-0.7.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate relib 0.7.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate relib 0.7.1 [INFO] finished tweaking crates.io crate relib 0.7.1 [INFO] tweaked toml for crates.io crate relib 0.7.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate relib 0.7.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate relib 0.7.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a17229811faad74b6b2872a974176dc53a997b6f07007c99b291c473decd30f [INFO] running `Command { std: "docker" "start" "-a" "7a17229811faad74b6b2872a974176dc53a997b6f07007c99b291c473decd30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a17229811faad74b6b2872a974176dc53a997b6f07007c99b291c473decd30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a17229811faad74b6b2872a974176dc53a997b6f07007c99b291c473decd30f", kill_on_drop: false }` [INFO] [stdout] 7a17229811faad74b6b2872a974176dc53a997b6f07007c99b291c473decd30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b16078b37ebdaec984abfc47bf604345bf5003949a9264fa69ba2a62a7982e84 [INFO] running `Command { std: "docker" "start" "-a" "b16078b37ebdaec984abfc47bf604345bf5003949a9264fa69ba2a62a7982e84", kill_on_drop: false }` [INFO] [stderr] Compiling relib v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "b16078b37ebdaec984abfc47bf604345bf5003949a9264fa69ba2a62a7982e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b16078b37ebdaec984abfc47bf604345bf5003949a9264fa69ba2a62a7982e84", kill_on_drop: false }` [INFO] [stdout] b16078b37ebdaec984abfc47bf604345bf5003949a9264fa69ba2a62a7982e84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5777e00983839506305ce6ce84aa4d4051be49fc86b247c708d563abd32e7efd [INFO] running `Command { std: "docker" "start" "-a" "5777e00983839506305ce6ce84aa4d4051be49fc86b247c708d563abd32e7efd", kill_on_drop: false }` [INFO] [stderr] Compiling relib v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "5777e00983839506305ce6ce84aa4d4051be49fc86b247c708d563abd32e7efd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5777e00983839506305ce6ce84aa4d4051be49fc86b247c708d563abd32e7efd", kill_on_drop: false }` [INFO] [stdout] 5777e00983839506305ce6ce84aa4d4051be49fc86b247c708d563abd32e7efd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71bb034caea59390a78a622dc8bafd8ffe22499d346f660069cf0a8674cb0ae4 [INFO] running `Command { std: "docker" "start" "-a" "71bb034caea59390a78a622dc8bafd8ffe22499d346f660069cf0a8674cb0ae4", 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/relib-362fa3b64faba223) [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 relib [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/__copied_docs.md - docs (line 271) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 202) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 229) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 139) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 366) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 243) ... FAILED [INFO] [stdout] test src/__copied_readme.md - (line 160) ... FAILED [INFO] [stdout] test src/__copied_readme.md - (line 138) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 181) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 46) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 155) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 219) ... FAILED [INFO] [stdout] test src/__copied_readme.md - (line 58) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 282) ... ok [INFO] [stdout] test src/__copied_docs.md - docs (line 98) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 394) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 168) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 325) ... ok [INFO] [stdout] test src/__copied_readme.md - (line 172) ... FAILED [INFO] [stdout] test src/__copied_readme.md - (line 100) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/__copied_docs.md - docs (line 271) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `module` in this scope [INFO] [stdout] --> src/__copied_docs.md:273:34 [INFO] [stdout] | [INFO] [stdout] 273 | let value: Option = 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] ---- src/__copied_docs.md - docs (line 202) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:212:6 [INFO] [stdout] | [INFO] [stdout] 212 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared`, use `cargo add shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_docs.md:212:35 [INFO] [stdout] | [INFO] [stdout] 212 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [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] ---- src/__copied_docs.md - docs (line 229) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_docs.md:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | let value = unsafe { gen_imports::foo() }; // gen_imports is defined by relib_interface::include_imports!() [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [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] ---- src/__copied_docs.md - docs (line 139) stdout ---- [INFO] [stdout] error: cannot declare a file module inside a block unless it has a path attribute [INFO] [stdout] --> src/__copied_docs.md:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | pub mod exports; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: file modules are usually placed outside of blocks, at the top level of the file [INFO] [stdout] [INFO] [stdout] error: cannot declare a file module inside a block unless it has a path attribute [INFO] [stdout] --> src/__copied_docs.md:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub mod imports; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: file modules are usually placed outside of blocks, at the top level of the file [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/exports.rs`: No such file or directory (os error 2) [INFO] [stdout] --> src/__copied_docs.md:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | pub const EXPORTS: &str = include_str!("exports.rs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/imports.rs`: No such file or directory (os error 2) [INFO] [stdout] --> src/__copied_docs.md:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | pub const IMPORTS: &str = include_str!("imports.rs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/__copied_docs.md - docs (line 366) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `load_module` in crate `relib` [INFO] [stdout] --> src/__copied_docs.md:371:10 [INFO] [stdout] | [INFO] [stdout] 371 | relib::load_module::("...") [INFO] [stdout] | ^^^^^^^^^^^ not found in `relib` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ModuleExports` in this scope [INFO] [stdout] --> src/__copied_docs.md:371:24 [INFO] [stdout] | [INFO] [stdout] 371 | relib::load_module::("...") [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 367 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src___copied_docs_md_366_0() { [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] ---- src/__copied_docs.md - docs (line 243) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:252:6 [INFO] [stdout] | [INFO] [stdout] 252 | impl shared::exports::Exports for gen_exports::ModuleExportsImpl { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared`, use `cargo add shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dylib_path` in this scope [INFO] [stdout] --> src/__copied_docs.md:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | dylib_path, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_exports` [INFO] [stdout] --> src/__copied_docs.md:252:35 [INFO] [stdout] | [INFO] [stdout] 252 | impl shared::exports::Exports for gen_exports::ModuleExportsImpl { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_exports`, use `cargo add gen_exports` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_host` [INFO] [stdout] --> src/__copied_docs.md:260:3 [INFO] [stdout] | [INFO] [stdout] 260 | relib_host::load_module::( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `relib_host` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `relib_host`, use `cargo add relib_host` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_exports` [INFO] [stdout] --> src/__copied_docs.md:260:29 [INFO] [stdout] | [INFO] [stdout] 260 | relib_host::load_module::( [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_exports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_exports`, use `cargo add gen_exports` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_docs.md:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | gen_imports::init_imports, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [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] ---- src/__copied_readme.md - (line 160) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/__copied_readme.md:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | 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] --> src/__copied_readme.md:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | 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] ---- src/__copied_readme.md - (line 138) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/__copied_readme.md:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | 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] --> src/__copied_readme.md:141:28 [INFO] [stdout] | [INFO] [stdout] 141 | 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] --> src/__copied_readme.md:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | 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] --> src/__copied_readme.md:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | 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] --> src/__copied_readme.md:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | 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] ---- src/__copied_docs.md - docs (line 181) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] --> src/__copied_docs.md:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | relib_interface::include_imports!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] --> src/__copied_docs.md:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | relib_interface::include_exports!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `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] ---- src/__copied_docs.md - docs (line 46) stdout ---- [INFO] [stdout] warning: unexpected `cfg` condition value: `unloading` [INFO] [stdout] --> src/__copied_docs.md:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | #[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 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 unresolved module or unlinked crate `relib_host` [INFO] [stdout] --> src/__copied_docs.md:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | relib_host::load_module::<()>(dylib_path, ()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `relib_host` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `relib_host`, use `cargo add relib_host` to add it to your `Cargo.toml` [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] ---- src/__copied_docs.md - docs (line 155) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] --> src/__copied_docs.md:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | relib_interface::host::generate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `relib_interface`, use `cargo add relib_interface` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | shared::EXPORTS, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared`, use `cargo add shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | shared::IMPORTS, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared`, use `cargo add shared` to add it to your `Cargo.toml` [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] ---- src/__copied_docs.md - docs (line 219) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dylib_path` in this scope [INFO] [stdout] --> src/__copied_docs.md:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | dylib_path, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_host` [INFO] [stdout] --> src/__copied_docs.md:222:3 [INFO] [stdout] | [INFO] [stdout] 222 | relib_host::load_module::<()>( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `relib_host` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `relib_host`, use `cargo add relib_host` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_docs.md:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | gen_imports::init_imports, [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [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] ---- src/__copied_readme.md - (line 58) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/__copied_readme.md:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | 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] --> src/__copied_readme.md:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | 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] --> src/__copied_readme.md:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | 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] --> src/__copied_readme.md:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | 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] --> src/__copied_readme.md:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | 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] --> src/__copied_readme.md:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | 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] --> src/__copied_readme.md:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | 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 unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_readme.md:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | let chunk: MemoryChunk = unsafe { gen_imports::example() }; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [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] ---- src/__copied_docs.md - docs (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_module` [INFO] [stdout] --> src/__copied_docs.md:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | #[relib_module::export] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `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] ---- src/__copied_docs.md - docs (line 394) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:398:6 [INFO] [stdout] | [INFO] [stdout] 398 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared`, use `cargo add shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_docs.md:398:35 [INFO] [stdout] | [INFO] [stdout] 398 | impl shared::imports::Imports for gen_imports::ModuleImportsImpl { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_docs.md:407:3 [INFO] [stdout] | [INFO] [stdout] 407 | gen_imports::panics(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [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] ---- src/__copied_docs.md - docs (line 168) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] --> src/__copied_docs.md:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | relib_interface::module::generate( [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `relib_interface`, use `cargo add relib_interface` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | shared::EXPORTS, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared`, use `cargo add shared` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | shared::IMPORTS, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `shared` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared`, use `cargo add shared` to add it to your `Cargo.toml` [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] ---- src/__copied_readme.md - (line 172) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/__copied_readme.md:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | 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] --> src/__copied_readme.md:174:44 [INFO] [stdout] | [INFO] [stdout] 174 | 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] --> src/__copied_readme.md:174:57 [INFO] [stdout] | [INFO] [stdout] 174 | 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] ---- src/__copied_readme.md - (line 100) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/__copied_readme.md:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | 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] --> src/__copied_readme.md:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | 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] --> src/__copied_readme.md:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | 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] --> src/__copied_readme.md:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | 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] --> src/__copied_readme.md:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | 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] --> src/__copied_readme.md:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | 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] --> src/__copied_readme.md:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | 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 unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_readme.md:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | unsafe { gen_imports::example(&chunk) }; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gen_imports`, use `cargo add gen_imports` to add it to your `Cargo.toml` [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] [INFO] [stdout] failures: [INFO] [stdout] src/__copied_docs.md - docs (line 139) [INFO] [stdout] src/__copied_docs.md - docs (line 155) [INFO] [stdout] src/__copied_docs.md - docs (line 168) [INFO] [stdout] src/__copied_docs.md - docs (line 181) [INFO] [stdout] src/__copied_docs.md - docs (line 202) [INFO] [stdout] src/__copied_docs.md - docs (line 219) [INFO] [stdout] src/__copied_docs.md - docs (line 229) [INFO] [stdout] src/__copied_docs.md - docs (line 243) [INFO] [stdout] src/__copied_docs.md - docs (line 271) [INFO] [stdout] src/__copied_docs.md - docs (line 366) [INFO] [stdout] src/__copied_docs.md - docs (line 394) [INFO] [stdout] src/__copied_docs.md - docs (line 46) [INFO] [stdout] src/__copied_docs.md - docs (line 98) [INFO] [stdout] src/__copied_readme.md - (line 100) [INFO] [stdout] src/__copied_readme.md - (line 138) [INFO] [stdout] src/__copied_readme.md - (line 160) [INFO] [stdout] src/__copied_readme.md - (line 172) [INFO] [stdout] src/__copied_readme.md - (line 58) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.75s; merged doctests compilation took 0.23s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "71bb034caea59390a78a622dc8bafd8ffe22499d346f660069cf0a8674cb0ae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71bb034caea59390a78a622dc8bafd8ffe22499d346f660069cf0a8674cb0ae4", kill_on_drop: false }` [INFO] [stdout] 71bb034caea59390a78a622dc8bafd8ffe22499d346f660069cf0a8674cb0ae4