[INFO] fetching crate automapper 0.0.2... [INFO] testing automapper-0.0.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate automapper 0.0.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate automapper 0.0.2 [INFO] finished tweaking crates.io crate automapper 0.0.2 [INFO] tweaked toml for crates.io crate automapper 0.0.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate automapper 0.0.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo-util-schemas v0.8.2 [INFO] [stderr] Downloaded serde-untagged v0.1.9 [INFO] [stderr] Downloaded camino v1.2.1 [INFO] [stderr] Downloaded rustdoc-json v0.9.7 [INFO] [stderr] Downloaded cargo-manifest v0.19.1 [INFO] [stderr] Downloaded erased-serde v0.4.9 [INFO] [stderr] Downloaded cargo_metadata v0.21.0 [INFO] [stderr] Downloaded rustdoc-types v0.32.2 [INFO] [stderr] Downloaded automapper-proc v0.0.1 [INFO] [stderr] Downloaded cargo-platform v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15e6f3e41edba9f1160732fccda8623058e7b0e1a0d05d4e5b983825b8da25ed [INFO] running `Command { std: "docker" "start" "-a" "15e6f3e41edba9f1160732fccda8623058e7b0e1a0d05d4e5b983825b8da25ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15e6f3e41edba9f1160732fccda8623058e7b0e1a0d05d4e5b983825b8da25ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e6f3e41edba9f1160732fccda8623058e7b0e1a0d05d4e5b983825b8da25ed", kill_on_drop: false }` [INFO] [stdout] 15e6f3e41edba9f1160732fccda8623058e7b0e1a0d05d4e5b983825b8da25ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caf7d3f0c02ddf75c163b3da8d786c56ecedc4113d15401f782b54cb5427d9d5 [INFO] running `Command { std: "docker" "start" "-a" "caf7d3f0c02ddf75c163b3da8d786c56ecedc4113d15401f782b54cb5427d9d5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling serde-untagged v0.1.9 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling cargo-platform v0.2.0 [INFO] [stderr] Compiling rustdoc-types v0.32.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling cargo-util-schemas v0.8.2 [INFO] [stderr] Compiling cargo-manifest v0.19.1 [INFO] [stderr] Compiling cargo_metadata v0.21.0 [INFO] [stderr] Compiling rustdoc-json v0.9.7 [INFO] [stderr] Compiling automapper-proc v0.0.1 [INFO] [stderr] Compiling automapper v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "caf7d3f0c02ddf75c163b3da8d786c56ecedc4113d15401f782b54cb5427d9d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf7d3f0c02ddf75c163b3da8d786c56ecedc4113d15401f782b54cb5427d9d5", kill_on_drop: false }` [INFO] [stdout] caf7d3f0c02ddf75c163b3da8d786c56ecedc4113d15401f782b54cb5427d9d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 314d5d3d51f4a0ca738a9f12e37ce3147f5d1a71824385c8a54b4a33c5136ec3 [INFO] running `Command { std: "docker" "start" "-a" "314d5d3d51f4a0ca738a9f12e37ce3147f5d1a71824385c8a54b4a33c5136ec3", kill_on_drop: false }` [INFO] [stderr] Compiling automapper v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "314d5d3d51f4a0ca738a9f12e37ce3147f5d1a71824385c8a54b4a33c5136ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314d5d3d51f4a0ca738a9f12e37ce3147f5d1a71824385c8a54b4a33c5136ec3", kill_on_drop: false }` [INFO] [stdout] 314d5d3d51f4a0ca738a9f12e37ce3147f5d1a71824385c8a54b4a33c5136ec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 659e6c1f3ca63a5a8e01a52539959a57197c96b4616b4d210dfb213ae17e3ae8 [INFO] running `Command { std: "docker" "start" "-a" "659e6c1f3ca63a5a8e01a52539959a57197c96b4616b4d210dfb213ae17e3ae8", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/automapper-820b48e5fa00f4eb) [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 automapper [INFO] [stderr] warning: unknown attribute `norun` [INFO] [stderr] --> src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / /// This trait is the opposite of `AutoMapsTo`. [INFO] [stderr] 12 | | /// This is automatically implemented for any type that implements `AutoMapsTo`. [INFO] [stderr] 13 | | /// [INFO] [stderr] 14 | | /// For any type where you can do [INFO] [stderr] ... | [INFO] [stderr] 21 | | /// let dest = DestType::map_from(source); [INFO] [stderr] 22 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: use `no_run` to compile, but not run, the code sample during testing [INFO] [stderr] = help: this code block may be skipped during testing, because unknown attributes are treated as markers for code samples written in other programming languages, unless it is also explicitly marked as `rust` [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 37) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/lib.rs - (line 50) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] rustdoc.json does not exist at "/opt/rustwide/workdir/rustdoc.json", run the cli generate this. [INFO] [stdout] error[E0412]: cannot find type `DestStruct` in this scope [INFO] [stdout] --> src/lib.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | automapper::map!(SourceStruct, DestStruct); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceStruct` in this scope [INFO] [stdout] --> src/lib.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | automapper::map!(SourceStruct, DestStruct); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rustdoc_path` in this scope [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | automapper::map!(SourceStruct, DestStruct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `::automapper::impl_map_fn` which comes from the expansion of the macro `automapper::map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SourceStruct` in this scope [INFO] [stdout] --> src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let input = SourceStruct { .. }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DestStruct` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let output: DestStruct = input.map_into(); // using AutoMapsTo trait [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DestStruct` [INFO] [stdout] --> src/lib.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let output = DestStruct::map_from(input); // using AutoMapsFrom trait [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DestStruct` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__map` in this scope [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | automapper::map!(SourceStruct, DestStruct); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try calling `__map` as a method: `self.__map()` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `automapper::map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 50) stdout ---- [INFO] [stdout] rustdoc.json does not exist at "/opt/rustwide/workdir/rustdoc.json", run the cli generate this. [INFO] [stdout] error[E0425]: cannot find value `rustdoc_path` in this scope [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / automapper::impl_map_fn!{ [INFO] [stdout] 53 | | fn convert_to(SourceStruct -> DestStruct); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `automapper::impl_map_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SourceStruct` in this scope [INFO] [stdout] --> src/lib.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let input = SourceStruct { .. }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `convert_to` in this scope [INFO] [stdout] --> src/lib.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | let output = convert_to(input); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 50) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "659e6c1f3ca63a5a8e01a52539959a57197c96b4616b4d210dfb213ae17e3ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659e6c1f3ca63a5a8e01a52539959a57197c96b4616b4d210dfb213ae17e3ae8", kill_on_drop: false }` [INFO] [stdout] 659e6c1f3ca63a5a8e01a52539959a57197c96b4616b4d210dfb213ae17e3ae8