[INFO] fetching crate e-macros 0.1.6... [INFO] testing e-macros-0.1.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate e-macros 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate e-macros 0.1.6 [INFO] finished tweaking crates.io crate e-macros 0.1.6 [INFO] tweaked toml for crates.io crate e-macros 0.1.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate e-macros 0.1.6 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] aee77733575edb49566dd7382344ec4f26b431d10313586015f92ab044c4798e [INFO] running `Command { std: "docker" "start" "-a" "aee77733575edb49566dd7382344ec4f26b431d10313586015f92ab044c4798e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aee77733575edb49566dd7382344ec4f26b431d10313586015f92ab044c4798e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee77733575edb49566dd7382344ec4f26b431d10313586015f92ab044c4798e", kill_on_drop: false }` [INFO] [stdout] aee77733575edb49566dd7382344ec4f26b431d10313586015f92ab044c4798e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6406434f6a67014b8511526412f669787d5bee859addb566130a978b2ad1b1a4 [INFO] running `Command { std: "docker" "start" "-a" "6406434f6a67014b8511526412f669787d5bee859addb566130a978b2ad1b1a4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling e-macros v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | #![cfg_attr(loom, allow(dead_code, unreachable_pub))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "6406434f6a67014b8511526412f669787d5bee859addb566130a978b2ad1b1a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6406434f6a67014b8511526412f669787d5bee859addb566130a978b2ad1b1a4", kill_on_drop: false }` [INFO] [stdout] 6406434f6a67014b8511526412f669787d5bee859addb566130a978b2ad1b1a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] efe2d9a8271723d9ace6a8a30e89cd181618de44d7a0b1d37140afc6821b9e7e [INFO] running `Command { std: "docker" "start" "-a" "efe2d9a8271723d9ace6a8a30e89cd181618de44d7a0b1d37140afc6821b9e7e", kill_on_drop: false }` [INFO] [stderr] Compiling e-macros v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | #![cfg_attr(loom, allow(dead_code, unreachable_pub))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | #![cfg_attr(loom, allow(dead_code, unreachable_pub))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "efe2d9a8271723d9ace6a8a30e89cd181618de44d7a0b1d37140afc6821b9e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efe2d9a8271723d9ace6a8a30e89cd181618de44d7a0b1d37140afc6821b9e7e", kill_on_drop: false }` [INFO] [stdout] efe2d9a8271723d9ace6a8a30e89cd181618de44d7a0b1d37140afc6821b9e7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 609ba6de283294dd939dd628f3b273128a2d55e7c1df67e11fe1d9b2078e44cb [INFO] running `Command { std: "docker" "start" "-a" "609ba6de283294dd939dd628f3b273128a2d55e7c1df67e11fe1d9b2078e44cb", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `loom` [INFO] [stderr] --> src/lib.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | #![cfg_attr(loom, allow(dead_code, unreachable_pub))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `e-macros` (lib) generated 1 warning [INFO] [stderr] warning: `e-macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/e_macros-9826d82705e261cb) [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 e_macros [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - json_derive (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - c_derive (line 248) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - json_derive (line 39) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(serde::Deserialize, Debug, serde::Serialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(serde::Deserialize, Debug, serde::Serialize)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(serde::Deserialize, Debug, serde::Serialize, Default, e_utils::Json)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde` [INFO] [stdout] --> src/lib.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(serde::Deserialize, Debug, serde::Serialize, Default, e_utils::Json)] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e_utils` [INFO] [stdout] --> src/lib.rs:46:65 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(serde::Deserialize, Debug, serde::Serialize, Default, e_utils::Json)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `e_utils` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `auto_json_cloned` found for struct `B` in the current scope [INFO] [stdout] --> src/lib.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 47 | struct B { [INFO] [stdout] | -------- function or associated item `auto_json_cloned` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 58 | let mut b: B = B::auto_json_cloned(&a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ function or associated item not found in `B` [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_owned` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/borrow.rs:61:4 [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - c_derive (line 248) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e_utils` [INFO] [stdout] --> src/lib.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 249 | #[derive(e_utils::C)] [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `e_utils` [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 254 | fn test() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 254 | fn test() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_c_ptr` found for struct `B` in the current scope [INFO] [stdout] --> src/lib.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 250 | struct B { [INFO] [stdout] | -------- method `to_c_ptr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 260 | let ptr = value.to_c_ptr(); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_c_ptr` found for struct `B` in the current scope [INFO] [stdout] --> src/lib.rs:262:51 [INFO] [stdout] | [INFO] [stdout] 250 | struct B { [INFO] [stdout] | -------- function or associated item `from_c_ptr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 262 | if let Some(restored_boxed_value) = unsafe { B::from_c_ptr(ptr) } { [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `B` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - c_derive (line 248) [INFO] [stdout] src/lib.rs - json_derive (line 39) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "609ba6de283294dd939dd628f3b273128a2d55e7c1df67e11fe1d9b2078e44cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "609ba6de283294dd939dd628f3b273128a2d55e7c1df67e11fe1d9b2078e44cb", kill_on_drop: false }` [INFO] [stdout] 609ba6de283294dd939dd628f3b273128a2d55e7c1df67e11fe1d9b2078e44cb