[INFO] fetching crate structx 0.1.11... [INFO] testing structx-0.1.11 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate structx 0.1.11 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate structx 0.1.11 [INFO] finished tweaking crates.io crate structx 0.1.11 [INFO] tweaked toml for crates.io crate structx 0.1.11 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate structx 0.1.11 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pals v0.1.2 [INFO] [stderr] Downloaded cmdline_words_parser v0.2.1 [INFO] [stderr] Downloaded inwelling v0.5.5 [INFO] [stderr] Downloaded escape8259 v0.5.3 [INFO] [stderr] Downloaded trees v0.4.2 [INFO] [stderr] Downloaded cargo_metadata v0.12.3 [INFO] [stderr] Downloaded toml v0.7.8 [INFO] [stderr] Downloaded utf16_reader v0.1.0 [INFO] [stderr] Downloaded structx_derive v0.1.4 [INFO] [stderr] Downloaded lens-rs v0.3.2 [INFO] [stderr] Downloaded inwelling v0.3.0 [INFO] [stderr] Downloaded lens-rs_derive v0.3.2 [INFO] [stderr] Downloaded lens-rs_generator v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51277b0ccaad00b4bbeb6c63677c70cfe21d18329abae29a4449e3ec3098b77b [INFO] running `Command { std: "docker" "start" "-a" "51277b0ccaad00b4bbeb6c63677c70cfe21d18329abae29a4449e3ec3098b77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51277b0ccaad00b4bbeb6c63677c70cfe21d18329abae29a4449e3ec3098b77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51277b0ccaad00b4bbeb6c63677c70cfe21d18329abae29a4449e3ec3098b77b", kill_on_drop: false }` [INFO] [stdout] 51277b0ccaad00b4bbeb6c63677c70cfe21d18329abae29a4449e3ec3098b77b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db022c8b557c65ee2133d5436f954d825e4fdb929348708a4336cf734b24382b [INFO] running `Command { std: "docker" "start" "-a" "db022c8b557c65ee2133d5436f954d825e4fdb929348708a4336cf734b24382b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling structx_derive v0.1.4 [INFO] [stderr] Compiling inwelling v0.5.5 [INFO] [stderr] Compiling structx v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.48s [INFO] running `Command { std: "docker" "inspect" "db022c8b557c65ee2133d5436f954d825e4fdb929348708a4336cf734b24382b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db022c8b557c65ee2133d5436f954d825e4fdb929348708a4336cf734b24382b", kill_on_drop: false }` [INFO] [stdout] db022c8b557c65ee2133d5436f954d825e4fdb929348708a4336cf734b24382b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65f181f29c3015dd5a81313dece89e3591581b3ea73bde1e567156f5e7d6e9ed [INFO] running `Command { std: "docker" "start" "-a" "65f181f29c3015dd5a81313dece89e3591581b3ea73bde1e567156f5e7d6e9ed", kill_on_drop: false }` [INFO] [stderr] Compiling structx v0.1.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "65f181f29c3015dd5a81313dece89e3591581b3ea73bde1e567156f5e7d6e9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f181f29c3015dd5a81313dece89e3591581b3ea73bde1e567156f5e7d6e9ed", kill_on_drop: false }` [INFO] [stdout] 65f181f29c3015dd5a81313dece89e3591581b3ea73bde1e567156f5e7d6e9ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a445ff644df1c269c9d9cc2bdc06de3d9f96b0f57ec44b46dbcb8e70bd24aeb7 [INFO] running `Command { std: "docker" "start" "-a" "a445ff644df1c269c9d9cc2bdc06de3d9f96b0f57ec44b46dbcb8e70bd24aeb7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/structx-60d3a16abc5a3445) [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 structx [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 32) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 87) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 94) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 66) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 75) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 87) stdout ---- [INFO] [stdout] error: cannot find attribute `named_args` in this scope [INFO] [stdout] --> src/lib.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[named_args] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::named_args::named_args; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::named_args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 55) stdout ---- [INFO] [stdout] error: cannot find macro `structx` in this scope [INFO] [stdout] --> src/lib.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 5 | let foo = structx!{ i: 3, b: true }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `structx` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#structx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::structx; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::structx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `structx` in this scope [INFO] [stdout] --> src/lib.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 6 | let bar = structx!{ x, y }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `structx` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#structx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::structx; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::structx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 94) stdout ---- [INFO] [stdout] error: cannot find macro `args` in this scope [INFO] [stdout] --> src/lib.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 3 | set_size( args!{ width: 1024, height: 768 }); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use structx::named_args::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_size` in this scope [INFO] [stdout] --> src/lib.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 3 | set_size( args!{ width: 1024, height: 768 }); [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `inwelling` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 5 | inwelling::to( "structx" ); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `inwelling` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `inwelling`, use `cargo add inwelling` 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/lib.rs - (line 66) stdout ---- [INFO] [stdout] error: cannot find macro `Structx` in this scope [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 5 | fn foo( x: i32, y: i32 ) -> Structx!{ x: i32, y: i32 } { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::Structx; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::Structx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `structx` in this scope [INFO] [stdout] --> src/lib.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 6 | structx!{ x, y: y+1 } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `structx` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#structx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::structx; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::structx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 75) stdout ---- [INFO] [stdout] error: cannot find macro `structx` in this scope [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 7 | let c = structx!{ width : 1024, height: 768 }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `structx` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#structx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::structx; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::structx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `structx` in this scope [INFO] [stdout] --> src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 6 | let b = structx!{ height: 600, width : 800 }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `structx` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#structx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::structx; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::structx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `structx` in this scope [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 5 | let a = structx!{ width : 800, height: 600 }; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `structx` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#structx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 2 + use structx::structx; [INFO] [stdout] | [INFO] [stdout] 2 + use structx_derive::structx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] src/lib.rs - (line 66) [INFO] [stdout] src/lib.rs - (line 75) [INFO] [stdout] src/lib.rs - (line 87) [INFO] [stdout] src/lib.rs - (line 94) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a445ff644df1c269c9d9cc2bdc06de3d9f96b0f57ec44b46dbcb8e70bd24aeb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a445ff644df1c269c9d9cc2bdc06de3d9f96b0f57ec44b46dbcb8e70bd24aeb7", kill_on_drop: false }` [INFO] [stdout] a445ff644df1c269c9d9cc2bdc06de3d9f96b0f57ec44b46dbcb8e70bd24aeb7