[INFO] fetching crate catinator_macros 0.3.0... [INFO] testing catinator_macros-0.3.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [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 b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 119 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.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff54f580fe67f2b979a79520c2523ca05d281e443184c51d4d92c8af8da441f0 [INFO] running `Command { std: "docker" "start" "-a" "ff54f580fe67f2b979a79520c2523ca05d281e443184c51d4d92c8af8da441f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff54f580fe67f2b979a79520c2523ca05d281e443184c51d4d92c8af8da441f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff54f580fe67f2b979a79520c2523ca05d281e443184c51d4d92c8af8da441f0", kill_on_drop: false }` [INFO] [stdout] ff54f580fe67f2b979a79520c2523ca05d281e443184c51d4d92c8af8da441f0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4af71a9fd69a493414f589542ba83e7bc2f9c68886a3b47cbe13e2439ea67fa3 [INFO] running `Command { std: "docker" "start" "-a" "4af71a9fd69a493414f589542ba83e7bc2f9c68886a3b47cbe13e2439ea67fa3", 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 proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [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 4.38s [INFO] running `Command { std: "docker" "inspect" "4af71a9fd69a493414f589542ba83e7bc2f9c68886a3b47cbe13e2439ea67fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4af71a9fd69a493414f589542ba83e7bc2f9c68886a3b47cbe13e2439ea67fa3", kill_on_drop: false }` [INFO] [stdout] 4af71a9fd69a493414f589542ba83e7bc2f9c68886a3b47cbe13e2439ea67fa3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21ca04af8b4867b3c3ccc452dbe522f3a0f52ebcd9fbf24e8a23fdb232cd9f2a [INFO] running `Command { std: "docker" "start" "-a" "21ca04af8b4867b3c3ccc452dbe522f3a0f52ebcd9fbf24e8a23fdb232cd9f2a", 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 libc v0.2.175 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling catinator_macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling encoding v0.2.33 [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 mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling irc-proto v0.15.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling irc v0.15.0 [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 22.27s [INFO] running `Command { std: "docker" "inspect" "21ca04af8b4867b3c3ccc452dbe522f3a0f52ebcd9fbf24e8a23fdb232cd9f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21ca04af8b4867b3c3ccc452dbe522f3a0f52ebcd9fbf24e8a23fdb232cd9f2a", kill_on_drop: false }` [INFO] [stdout] 21ca04af8b4867b3c3ccc452dbe522f3a0f52ebcd9fbf24e8a23fdb232cd9f2a [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72002e9ba8b9b8e32174c31280d0cdd096bf66c2dd31bd382e2998329ed4cb32 [INFO] running `Command { std: "docker" "start" "-a" "72002e9ba8b9b8e32174c31280d0cdd096bf66c2dd31bd382e2998329ed4cb32", 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.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/catinator_macros-afb20d596cf3bd09) [INFO] [stderr] Doc-tests catinator_macros [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] [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 - privmsg (line 228) ... FAILED [INFO] [stdout] test src/lib.rs - catinator (line 88) ... 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] 3 | 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] 10 | #[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] 11 | 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 - privmsg (line 228) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `macros` [INFO] [stdout] --> src/lib.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 7 | 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] ---- 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] 3 | 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] [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.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "72002e9ba8b9b8e32174c31280d0cdd096bf66c2dd31bd382e2998329ed4cb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72002e9ba8b9b8e32174c31280d0cdd096bf66c2dd31bd382e2998329ed4cb32", kill_on_drop: false }` [INFO] [stdout] 72002e9ba8b9b8e32174c31280d0cdd096bf66c2dd31bd382e2998329ed4cb32