[INFO] fetching crate indicator_macros 0.4.4... [INFO] testing indicator_macros-0.4.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate indicator_macros 0.4.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate indicator_macros 0.4.4 [INFO] finished tweaking crates.io crate indicator_macros 0.4.4 [INFO] tweaked toml for crates.io crate indicator_macros 0.4.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate indicator_macros 0.4.4 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 23 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.6.0 (available: v0.9.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (available: v3.4.0) [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 num v0.4.3 [INFO] [stderr] Downloaded num-iter v0.1.45 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded num-bigint v0.4.6 [INFO] [stderr] Downloaded unicode-segmentation v1.12.0 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a3abdb284c84b39c1985e53756ad407e6fc4a539e41efc851851e2c9c3267fa9 [INFO] running `Command { std: "docker" "start" "-a" "a3abdb284c84b39c1985e53756ad407e6fc4a539e41efc851851e2c9c3267fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3abdb284c84b39c1985e53756ad407e6fc4a539e41efc851851e2c9c3267fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3abdb284c84b39c1985e53756ad407e6fc4a539e41efc851851e2c9c3267fa9", kill_on_drop: false }` [INFO] [stdout] a3abdb284c84b39c1985e53756ad407e6fc4a539e41efc851851e2c9c3267fa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6b040e597c03cb58d5c029c3d616e4f13053721efc54b872f96f3eae2111a57a [INFO] running `Command { std: "docker" "start" "-a" "6b040e597c03cb58d5c029c3d616e4f13053721efc54b872f96f3eae2111a57a", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling indicator_macros v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.84s [INFO] running `Command { std: "docker" "inspect" "6b040e597c03cb58d5c029c3d616e4f13053721efc54b872f96f3eae2111a57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b040e597c03cb58d5c029c3d616e4f13053721efc54b872f96f3eae2111a57a", kill_on_drop: false }` [INFO] [stdout] 6b040e597c03cb58d5c029c3d616e4f13053721efc54b872f96f3eae2111a57a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 378dcd45a542593dbd2958bf5f83250753530def185c6bd3548ed9e77d84fa41 [INFO] running `Command { std: "docker" "start" "-a" "378dcd45a542593dbd2958bf5f83250753530def185c6bd3548ed9e77d84fa41", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling indicator_macros v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "378dcd45a542593dbd2958bf5f83250753530def185c6bd3548ed9e77d84fa41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378dcd45a542593dbd2958bf5f83250753530def185c6bd3548ed9e77d84fa41", kill_on_drop: false }` [INFO] [stdout] 378dcd45a542593dbd2958bf5f83250753530def185c6bd3548ed9e77d84fa41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8bab55162f2115ffaa38a73845ad6db1ed2cfe23554dcfc37f3f280607a80933 [INFO] running `Command { std: "docker" "start" "-a" "8bab55162f2115ffaa38a73845ad6db1ed2cfe23554dcfc37f3f280607a80933", 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/indicator_macros-05fed512f041802c) [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 indicator_macros [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - operator (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - operator (line 33) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - operator (line 55) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `indicator` [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | use indicator::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `indicator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `indicator`, use `cargo add indicator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `operator` in this scope [INFO] [stdout] --> src/lib.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[operator(input = I, generate_out)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 55 + use indicator_macros::operator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `input` in this scope [INFO] [stdout] --> src/lib.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn add_two(#[input] value: &T) -> T [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input` in this scope [INFO] [stdout] --> src/lib.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | let op = input::().insert(add_two::<_, _, i32>).finish(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 1 generic argument but 3 generic arguments were supplied [INFO] [stdout] --> src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | let op = input::().insert(add_two::<_, _, i32>).finish(); [INFO] [stdout] | ^^^^^^^ -------- help: remove the unnecessary generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 1 generic parameter: `T` [INFO] [stdout] --> src/lib.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn add_two(#[input] value: &T) -> T [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - operator (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `indicator` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use indicator::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `indicator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `indicator`, use `cargo add indicator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `operator` in this scope [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[operator(input = T)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 33 + use indicator_macros::operator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `In` in this scope [INFO] [stdout] --> src/lib.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | fn add_two(In(value): In<&T>) -> AddTwo [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `In` in this scope [INFO] [stdout] --> src/lib.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn add_two(In(value): In<&T>) -> AddTwo [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:76:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Fn` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 - fn add_two(In(value): In<&T>) -> AddTwo [INFO] [stdout] 41 + fn add_two(In(value): Fn<&T>) -> AddTwo [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 33 + use syn::token::In; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `input` in this scope [INFO] [stdout] --> src/lib.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | let op = input::().insert_env(add_two).finish(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - operator (line 33) [INFO] [stdout] src/lib.rs - operator (line 55) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8bab55162f2115ffaa38a73845ad6db1ed2cfe23554dcfc37f3f280607a80933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bab55162f2115ffaa38a73845ad6db1ed2cfe23554dcfc37f3f280607a80933", kill_on_drop: false }` [INFO] [stdout] 8bab55162f2115ffaa38a73845ad6db1ed2cfe23554dcfc37f3f280607a80933