[INFO] fetching crate relib 0.6.2... [INFO] testing relib-0.6.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate relib 0.6.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate relib 0.6.2 [INFO] finished tweaking crates.io crate relib 0.6.2 [INFO] tweaked toml for crates.io crate relib 0.6.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate relib 0.6.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate relib 0.6.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c65506809b046cbdba548df85845500b46ca9b340a251f5963ecc67d79e66fa [INFO] running `Command { std: "docker" "start" "-a" "9c65506809b046cbdba548df85845500b46ca9b340a251f5963ecc67d79e66fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c65506809b046cbdba548df85845500b46ca9b340a251f5963ecc67d79e66fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c65506809b046cbdba548df85845500b46ca9b340a251f5963ecc67d79e66fa", kill_on_drop: false }` [INFO] [stdout] 9c65506809b046cbdba548df85845500b46ca9b340a251f5963ecc67d79e66fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e04e77d5f14143b31affce8b715abd2b5d5c268b356fe61400096bcd7d35d05 [INFO] running `Command { std: "docker" "start" "-a" "5e04e77d5f14143b31affce8b715abd2b5d5c268b356fe61400096bcd7d35d05", kill_on_drop: false }` [INFO] [stderr] Compiling relib v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "5e04e77d5f14143b31affce8b715abd2b5d5c268b356fe61400096bcd7d35d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e04e77d5f14143b31affce8b715abd2b5d5c268b356fe61400096bcd7d35d05", kill_on_drop: false }` [INFO] [stdout] 5e04e77d5f14143b31affce8b715abd2b5d5c268b356fe61400096bcd7d35d05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d4dcf33f5cf4814f7b08bdddacb4fe1659acffc40d849df59c1732902f7e144 [INFO] running `Command { std: "docker" "start" "-a" "6d4dcf33f5cf4814f7b08bdddacb4fe1659acffc40d849df59c1732902f7e144", kill_on_drop: false }` [INFO] [stderr] Compiling relib v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "6d4dcf33f5cf4814f7b08bdddacb4fe1659acffc40d849df59c1732902f7e144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d4dcf33f5cf4814f7b08bdddacb4fe1659acffc40d849df59c1732902f7e144", kill_on_drop: false }` [INFO] [stdout] 6d4dcf33f5cf4814f7b08bdddacb4fe1659acffc40d849df59c1732902f7e144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54ade182eb30b2214537673551e9bfc2c6788784b440450dc8f0d843d7df140c [INFO] running `Command { std: "docker" "start" "-a" "54ade182eb30b2214537673551e9bfc2c6788784b440450dc8f0d843d7df140c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/relib-d6f4fbd2c36acc73) [INFO] [stdout] [INFO] [stderr] Doc-tests relib [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 20 tests [INFO] [stdout] test src/__copied_docs.md - docs (line 96) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 179) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 137) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 227) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 200) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 153) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 166) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 378) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 350) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 241) ... FAILED [INFO] [stdout] test src/__copied_readme.md - (line 156) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 269) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 44) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 280) ... ok [INFO] [stdout] test src/__copied_readme.md - (line 168) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 322) ... ok [INFO] [stdout] test src/__copied_readme.md - (line 96) ... FAILED [INFO] [stdout] test src/__copied_readme.md - (line 134) ... FAILED [INFO] [stdout] test src/__copied_docs.md - docs (line 217) ... FAILED [INFO] [stdout] test src/__copied_readme.md - (line 58) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/__copied_docs.md - docs (line 96) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_module` [INFO] [stdout] --> src/__copied_docs.md:98:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[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 179) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] --> src/__copied_docs.md:185:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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:184:1 [INFO] [stdout] | [INFO] [stdout] 8 | 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 137) stdout ---- [INFO] [stdout] error: cannot declare a non-inline module inside a block unless it has a path attribute [INFO] [stdout] --> src/__copied_docs.md: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] --> src/__copied_docs.md:140:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod imports; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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:142:27 [INFO] [stdout] | [INFO] [stdout] 7 | 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:143:27 [INFO] [stdout] | [INFO] [stdout] 8 | 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 227) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_docs.md: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 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 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:210:6 [INFO] [stdout] | [INFO] [stdout] 13 | 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:210:35 [INFO] [stdout] | [INFO] [stdout] 13 | 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 153) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] --> src/__copied_docs.md:157:3 [INFO] [stdout] | [INFO] [stdout] 6 | 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:158:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:160:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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 166) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `relib_interface` [INFO] [stdout] --> src/__copied_docs.md:170:3 [INFO] [stdout] | [INFO] [stdout] 6 | 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:171:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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:173:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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 378) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:382:6 [INFO] [stdout] | [INFO] [stdout] 7 | 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:382:35 [INFO] [stdout] | [INFO] [stdout] 7 | 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:391:3 [INFO] [stdout] | [INFO] [stdout] 16 | 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 350) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `load_module` in crate `relib` [INFO] [stdout] --> src/__copied_docs.md:355:10 [INFO] [stdout] | [INFO] [stdout] 8 | 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:355:24 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src___copied_docs_md_350_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 241) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shared` [INFO] [stdout] --> src/__copied_docs.md:250:6 [INFO] [stdout] | [INFO] [stdout] 12 | 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 `path_to_dylib` in this scope [INFO] [stdout] --> src/__copied_docs.md:259:5 [INFO] [stdout] | [INFO] [stdout] 21 | path_to_dylib, [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:250:35 [INFO] [stdout] | [INFO] [stdout] 12 | 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:258:3 [INFO] [stdout] | [INFO] [stdout] 20 | 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:258:29 [INFO] [stdout] | [INFO] [stdout] 20 | 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:260:5 [INFO] [stdout] | [INFO] [stdout] 22 | 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 156) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] ---- src/__copied_docs.md - docs (line 269) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `module` in this scope [INFO] [stdout] --> src/__copied_docs.md:271:34 [INFO] [stdout] | [INFO] [stdout] 4 | 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 44) stdout ---- [INFO] [stdout] warning: unexpected `cfg` condition value: `unloading` [INFO] [stdout] --> src/__copied_docs.md:76:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "unloading")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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:55:5 [INFO] [stdout] | [INFO] [stdout] 13 | relib_host::load_module::<()>(path_to_dylib, ()) [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_readme.md - (line 168) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/__copied_readme.md:170: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] --> src/__copied_readme.md:170: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] --> src/__copied_readme.md:170: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] ---- src/__copied_readme.md - (line 96) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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 unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_readme.md:122:10 [INFO] [stdout] | [INFO] [stdout] 29 | 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] ---- src/__copied_readme.md - (line 134) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] ---- src/__copied_docs.md - docs (line 217) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `path_to_dylib` in this scope [INFO] [stdout] --> src/__copied_docs.md:221:5 [INFO] [stdout] | [INFO] [stdout] 7 | path_to_dylib, [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:220:3 [INFO] [stdout] | [INFO] [stdout] 6 | 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:222:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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] --> src/__copied_readme.md: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 unresolved module or unlinked crate `gen_imports` [INFO] [stdout] --> src/__copied_readme.md:83:35 [INFO] [stdout] | [INFO] [stdout] 28 | 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] [INFO] [stdout] failures: [INFO] [stdout] src/__copied_docs.md - docs (line 137) [INFO] [stdout] src/__copied_docs.md - docs (line 153) [INFO] [stdout] src/__copied_docs.md - docs (line 166) [INFO] [stdout] src/__copied_docs.md - docs (line 179) [INFO] [stdout] src/__copied_docs.md - docs (line 200) [INFO] [stdout] src/__copied_docs.md - docs (line 217) [INFO] [stdout] src/__copied_docs.md - docs (line 227) [INFO] [stdout] src/__copied_docs.md - docs (line 241) [INFO] [stdout] src/__copied_docs.md - docs (line 269) [INFO] [stdout] src/__copied_docs.md - docs (line 350) [INFO] [stdout] src/__copied_docs.md - docs (line 378) [INFO] [stdout] src/__copied_docs.md - docs (line 44) [INFO] [stdout] src/__copied_docs.md - docs (line 96) [INFO] [stdout] src/__copied_readme.md - (line 134) [INFO] [stdout] src/__copied_readme.md - (line 156) [INFO] [stdout] src/__copied_readme.md - (line 168) [INFO] [stdout] src/__copied_readme.md - (line 58) [INFO] [stdout] src/__copied_readme.md - (line 96) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.89s; merged doctests compilation took 0.31s [INFO] running `Command { std: "docker" "inspect" "54ade182eb30b2214537673551e9bfc2c6788784b440450dc8f0d843d7df140c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ade182eb30b2214537673551e9bfc2c6788784b440450dc8f0d843d7df140c", kill_on_drop: false }` [INFO] [stdout] 54ade182eb30b2214537673551e9bfc2c6788784b440450dc8f0d843d7df140c