[INFO] fetching crate catinator_macros 0.3.0... [INFO] testing catinator_macros-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate catinator_macros 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate catinator_macros 0.3.0 [INFO] finished tweaking crates.io crate catinator_macros 0.3.0 [INFO] tweaked toml for crates.io crate catinator_macros 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate catinator_macros 0.3.0 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 111 packages to latest compatible versions [INFO] [stderr] Adding irc v0.15.0 (available: v1.1.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [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] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `irc` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9ba4fc6bb06323f7afe8bedffcca4fa4f431b564942bf01fe6fd7f17c527923d [INFO] running `Command { std: "docker" "start" "-a" "9ba4fc6bb06323f7afe8bedffcca4fa4f431b564942bf01fe6fd7f17c527923d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ba4fc6bb06323f7afe8bedffcca4fa4f431b564942bf01fe6fd7f17c527923d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba4fc6bb06323f7afe8bedffcca4fa4f431b564942bf01fe6fd7f17c527923d", kill_on_drop: false }` [INFO] [stdout] 9ba4fc6bb06323f7afe8bedffcca4fa4f431b564942bf01fe6fd7f17c527923d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 14d0824e7f49f6099db2a054dc21f5922e3cf55fbb3915f8d9834f3132c5d8a7 [INFO] running `Command { std: "docker" "start" "-a" "14d0824e7f49f6099db2a054dc21f5922e3cf55fbb3915f8d9834f3132c5d8a7", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `irc` dependency) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling catinator_macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `tok2` is never read [INFO] [stdout] --> src/macro_types/privmsg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub msg: Expr, [INFO] [stdout] 8 | pub tok2: Token![,], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "14d0824e7f49f6099db2a054dc21f5922e3cf55fbb3915f8d9834f3132c5d8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d0824e7f49f6099db2a054dc21f5922e3cf55fbb3915f8d9834f3132c5d8a7", kill_on_drop: false }` [INFO] [stdout] 14d0824e7f49f6099db2a054dc21f5922e3cf55fbb3915f8d9834f3132c5d8a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4b90365ca5179df808a918f7cf64326ee2683bfbd7555ec1088c1d683036cdfe [INFO] running `Command { std: "docker" "start" "-a" "4b90365ca5179df808a918f7cf64326ee2683bfbd7555ec1088c1d683036cdfe", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `irc` dependency) [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling catinator_macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `tok2` is never read [INFO] [stdout] --> src/macro_types/privmsg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub msg: Expr, [INFO] [stdout] 8 | pub tok2: Token![,], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling irc-proto v0.15.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling irc v0.15.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] warning: field `tok2` is never read [INFO] [stdout] --> src/macro_types/privmsg.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Item { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 7 | pub msg: Expr, [INFO] [stdout] 8 | pub tok2: Token![,], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 47.63s [INFO] running `Command { std: "docker" "inspect" "4b90365ca5179df808a918f7cf64326ee2683bfbd7555ec1088c1d683036cdfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b90365ca5179df808a918f7cf64326ee2683bfbd7555ec1088c1d683036cdfe", kill_on_drop: false }` [INFO] [stdout] 4b90365ca5179df808a918f7cf64326ee2683bfbd7555ec1088c1d683036cdfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8fd8083b08bb8598d4be4b8ab659be15eab2828801d4050b18a40dd6bd22da7a [INFO] running `Command { std: "docker" "start" "-a" "8fd8083b08bb8598d4be4b8ab659be15eab2828801d4050b18a40dd6bd22da7a", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `irc` dependency) [INFO] [stderr] warning: field `tok2` is never read [INFO] [stderr] --> src/macro_types/privmsg.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Item { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 7 | pub msg: Expr, [INFO] [stderr] 8 | pub tok2: Token![,], [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `catinator_macros` (lib) generated 1 warning [INFO] [stderr] warning: `catinator_macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/catinator_macros-3a077edd483c7a7d) [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 catinator_macros [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - catinator (line 106) ... ignored [INFO] [stdout] test src/lib.rs - catinator (line 118) ... ignored [INFO] [stdout] test src/lib.rs - catinator (line 126) ... ignored [INFO] [stdout] test src/lib.rs - catinator (line 98) ... ignored [INFO] [stdout] test src/lib.rs - catinator (line 63) - compile ... FAILED [INFO] [stdout] test src/lib.rs - catinator (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - privmsg (line 228) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - catinator (line 63) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `macros` [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use macros::catinator; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `tokio::macros` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/lib.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - catinator (line 88) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `catinator` [INFO] [stdout] --> src/lib.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | fn hook(bot: &catinator::Bot, msg: irc::client::prelude::Message) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `catinator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `catinator`, use `cargo add catinator` 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 - privmsg (line 228) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `macros` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | use macros::privmsg; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `tokio::macros` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `catinator` [INFO] [stdout] --> src/lib.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn hook(bot: &catinator::Bot, msg: Message) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `catinator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `catinator`, use `cargo add catinator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - catinator (line 63) [INFO] [stdout] src/lib.rs - catinator (line 88) [INFO] [stdout] src/lib.rs - privmsg (line 228) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8fd8083b08bb8598d4be4b8ab659be15eab2828801d4050b18a40dd6bd22da7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd8083b08bb8598d4be4b8ab659be15eab2828801d4050b18a40dd6bd22da7a", kill_on_drop: false }` [INFO] [stdout] 8fd8083b08bb8598d4be4b8ab659be15eab2828801d4050b18a40dd6bd22da7a