[INFO] cloning repository https://github.com/limjonathan/polyglot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/limjonathan/polyglot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimjonathan%2Fpolyglot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimjonathan%2Fpolyglot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1376450a97c941344f9e9c0e3ba0d332aa99531f [INFO] testing limjonathan/polyglot against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flimjonathan%2Fpolyglot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/limjonathan/polyglot [INFO] finished tweaking git repo https://github.com/limjonathan/polyglot [INFO] tweaked toml for git repo https://github.com/limjonathan/polyglot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/limjonathan/polyglot on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/limjonathan/polyglot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36 [INFO] running `Command { std: "docker" "start" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.28 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling clap_builder v4.6.6 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling console v0.16.4 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling indicatif v0.18.6 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling aho-corasick v1.1.5 [INFO] [stderr] Compiling bstr v1.13.1 [INFO] [stderr] Compiling terminal_size v0.4.4 [INFO] [stderr] Compiling toml v0.9.12+spec-1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling clap_derive v4.6.4 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling clap v4.6.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling globset v0.4.20 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling tokio-util v0.7.19 [INFO] [stderr] Compiling polyglot-hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cli.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Command::Init => miette::bail!("config authoring lands in a later construction step"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `miette::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / bail!( [INFO] [stdout] 61 | | "'{name}' is not a git hook; valid client-side hooks: {}", [INFO] [stdout] 62 | | KNOWN_CLIENT_HOOKS.join(", ") [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | bail!("hooks.{hook}[{index}]: cannot specify both 'use' and 'run' in the same task") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | (None, None) => bail!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 84 | | "hooks.{hook}[{index}]: task must specify 'use' (a known tool) or 'run' (a command)" [INFO] [stdout] 85 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/engine/mod.rs:355:37 [INFO] [stdout] | [INFO] [stdout] 355 | Some(Err(e)) => bail!("worker panicked: {e}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/engine/mod.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | _ => bail!("internal: task {index} has ambiguous source"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `indicatif` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | indicatif = "0.18" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `indicatif` [INFO] [stderr] warning: `polyglot-hooks` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: polyglot-hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling assert_cmd v2.2.2 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling terminal_size v0.4.4 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling bstr v1.13.1 [INFO] [stderr] Compiling globset v0.4.20 [INFO] [stderr] Compiling polyglot-hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cli.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Command::Init => miette::bail!("config authoring lands in a later construction step"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `miette::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / bail!( [INFO] [stdout] 61 | | "'{name}' is not a git hook; valid client-side hooks: {}", [INFO] [stdout] 62 | | KNOWN_CLIENT_HOOKS.join(", ") [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | bail!("hooks.{hook}[{index}]: cannot specify both 'use' and 'run' in the same task") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | (None, None) => bail!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 84 | | "hooks.{hook}[{index}]: task must specify 'use' (a known tool) or 'run' (a command)" [INFO] [stdout] 85 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/engine/mod.rs:355:37 [INFO] [stdout] | [INFO] [stdout] 355 | Some(Err(e)) => bail!("worker panicked: {e}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/engine/mod.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | _ => bail!("internal: task {index} has ambiguous source"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cli.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | Command::Init => miette::bail!("config authoring lands in a later construction step"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `miette::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / bail!( [INFO] [stdout] 61 | | "'{name}' is not a git hook; valid client-side hooks: {}", [INFO] [stdout] 62 | | KNOWN_CLIENT_HOOKS.join(", ") [INFO] [stdout] 63 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | bail!("hooks.{hook}[{index}]: cannot specify both 'use' and 'run' in the same task") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/config/parse.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | (None, None) => bail!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 84 | | "hooks.{hook}[{index}]: task must specify 'use' (a known tool) or 'run' (a command)" [INFO] [stdout] 85 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/engine/mod.rs:355:37 [INFO] [stdout] | [INFO] [stdout] 355 | Some(Err(e)) => bail!("worker panicked: {e}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/engine/mod.rs:417:14 [INFO] [stdout] | [INFO] [stdout] 417 | _ => bail!("internal: task {index} has ambiguous source"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: polyglot-hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/cli.rs:77:26 [INFO] [stderr] | [INFO] [stderr] 77 | Command::Init => miette::bail!("config authoring lands in a later construction step"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `miette::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/config/parse.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | / bail!( [INFO] [stderr] 61 | | "'{name}' is not a git hook; valid client-side hooks: {}", [INFO] [stderr] 62 | | KNOWN_CLIENT_HOOKS.join(", ") [INFO] [stderr] 63 | | ) [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/config/parse.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | bail!("hooks.{hook}[{index}]: cannot specify both 'use' and 'run' in the same task") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/config/parse.rs:83:25 [INFO] [stderr] | [INFO] [stderr] 83 | (None, None) => bail!( [INFO] [stderr] | _________________________^ [INFO] [stderr] 84 | | "hooks.{hook}[{index}]: task must specify 'use' (a known tool) or 'run' (a command)" [INFO] [stderr] 85 | | ), [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/engine/mod.rs:355:37 [INFO] [stderr] | [INFO] [stderr] 355 | Some(Err(e)) => bail!("worker panicked: {e}"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/engine/mod.rs:417:14 [INFO] [stderr] | [INFO] [stderr] 417 | _ => bail!("internal: task {index} has ambiguous source"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `polyglot-hooks` (bin "polyglot") generated 6 warnings [INFO] [stderr] warning: `polyglot-hooks` (bin "polyglot" test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: polyglot-hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/polyglot-hooks/294ae07295ab413c/out/polyglot-294ae07295ab413c) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test config::tests::concurrency_rejects_garbage_and_zero ... ok [INFO] [stdout] test config::tests::empty_config_parses_with_no_hooks ... ok [INFO] [stdout] test config::tests::hook_name_outside_git_client_set_is_rejected ... ok [INFO] [stdout] test config::tests::empty_version_min_is_rejected ... ok [INFO] [stdout] test config::tests::discovery_finds_config_in_parent_directory ... ok [INFO] [stdout] test config::tests::load_reads_and_validates_from_disk ... ok [INFO] [stdout] test config::tests::invalid_glob_pattern_is_rejected ... ok [INFO] [stdout] test config::tests::discovery_returns_none_when_absent ... ok [INFO] [stdout] test config::tests::concurrency_accepts_auto_string ... ok [INFO] [stdout] test config::tests::unknown_settings_field_is_rejected ... ok [INFO] [stdout] test config::tests::task_requires_exactly_one_of_use_or_run ... ok [INFO] [stdout] test config::tests::missing_settings_use_documented_defaults ... ok [INFO] [stdout] test config::tests::unknown_adapter_name_is_rejected_with_known_names ... ok [INFO] [stdout] test config::tests::unknown_top_level_key_is_rejected ... ok [INFO] [stdout] test engine::tests::empty_glob_list_matches_everything ... ok [INFO] [stdout] test engine::tests::interpolation_quotes_paths_with_spaces ... ok [INFO] [stdout] test engine::tests::templates_without_placeholder_run_once_unchanged ... ok [INFO] [stdout] test config::tests::malformed_toml_names_line_and_column ... ok [INFO] [stdout] test config::tests::full_example_parses_every_section ... ok [INFO] [stdout] test config::tests::config_without_any_hooks_fails_validation ... ok [INFO] [stdout] test engine::tests::basename_globs_match_nested_paths ... ok [INFO] [stdout] test engine::tests::path_globs_match_against_full_relative_path ... ok [INFO] [stdout] test install::tests::render_embeds_marker_hook_and_binary_path ... ok [INFO] [stdout] test engine::tests::brace_expansion_works_in_patterns ... ok [INFO] [stdout] test install::tests::managed_detection_distinguishes_shims_from_foreign_hooks ... ok [INFO] [stdout] test git::tests::missing_git_binary_is_reported_clearly ... ok [INFO] [stdout] test engine::tests::single_quotes_inside_paths_are_escaped ... ok [INFO] [stdout] test config::tests::valid_full_example_passes_semantic_validation ... ok [INFO] [stdout] test git::tests::toplevel_errors_outside_any_repository ... ok [INFO] [stdout] test git::tests::hooks_path_defaults_to_dotgit_hooks ... ok [INFO] [stdout] test git::tests::hooks_path_honors_config_override ... ok [INFO] [stdout] test git::tests::toplevel_finds_repo_root_from_nested_directory ... ok [INFO] [stdout] test git::tests::partially_staged_file_appears_in_unstaged_set ... ok [INFO] [stdout] test git::tests::staged_files_survive_spaces_and_unicode_in_names ... ok [INFO] [stderr] Running tests/autofix.rs (/opt/rustwide/target/debug/build/polyglot-hooks/3defe252cc0b19cd/out/autofix-3defe252cc0b19cd) [INFO] [stdout] test git::tests::staged_files_include_adds_and_modifies_exclude_deletes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test unborn_head_falls_back_to_strict_mode ... ok [INFO] [stdout] test stash_hides_unstaged_state_from_running_tools ... ok [INFO] [stdout] test mid_merge_falls_back_to_strict_mode_with_warning ... ok [INFO] [stdout] test auto_stage_fixes_false_leaves_index_alone ... ok [INFO] [stdout] test pop_conflict_is_contained_with_recovery_guidance ... ok [INFO] [stdout] test stash_applies_for_fix_capable_tasks ... ok [INFO] [stdout] test fix_updates_index_while_preserving_unstaged_edits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] Running tests/cli_smoke.rs (/opt/rustwide/target/debug/build/polyglot-hooks/9b2f65eb7781edb4/out/cli_smoke-9b2f65eb7781edb4) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test version_flag_prints_version ... ok [INFO] [stdout] test help_succeeds_and_lists_subcommands ... ok [INFO] [stdout] test unknown_command_is_rejected_by_clap ... ok [INFO] [stdout] test validate_reports_success_for_valid_config ... ok [INFO] [stdout] test list_prints_builtin_adapters_without_config ... ok [INFO] [stdout] test stub_commands_exit_with_config_error_code ... ok [INFO] [stdout] test run_without_config_exits_with_error_naming_the_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Running tests/install.rs (/opt/rustwide/target/debug/build/polyglot-hooks/e0e6dd7a4024fedb/out/install-e0e6dd7a4024fedb) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test install_force_backs_up_and_replaces_foreign_hooks ... ok [INFO] [stdout] test install_refuses_foreign_hooks_atomically_without_force ... ok [INFO] [stdout] test uninstall_on_fresh_repo_succeeds_cleanly ... ok [INFO] [stdout] test install_is_idempotent_and_creates_no_backups ... ok [INFO] [stdout] test install_writes_nine_executable_shims ... ok [INFO] [stdout] test shim_invokes_polyglot_run_with_hook_name ... ok [INFO] [stdout] test uninstall_removes_only_polyglot_shims ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/native.rs (/opt/rustwide/target/debug/build/polyglot-hooks/35cc20e1da02f37a/out/native-35cc20e1da02f37a) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test large_file_max_kb_override_is_respected ... ok [INFO] [stdout] test trailing_whitespace_flags_dirty_files ... ok [INFO] [stdout] test eof_newline_fix_appends_missing_newline ... ok [INFO] [stdout] test large_file_rejects_oversize_with_default_limit ... ok [INFO] [stdout] test trailing_whitespace_fix_mode_repairs_and_passes ... ok [INFO] [stdout] test conventional_checker_accepts_and_rejects_via_hook_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/parallel.rs (/opt/rustwide/target/debug/build/polyglot-hooks/e94a1ae5c38ba28a/out/parallel-e94a1ae5c38ba28a) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test fail_fast_kills_running_siblings ... ok [INFO] [stdout] test overlapping_writers_never_corrupt_shared_file ... ok [INFO] [stdout] test per_task_timeout_kills_runaway_command ... ok [INFO] [stdout] test independent_tasks_overlap_in_time ... ok [INFO] [stdout] test concurrency_limit_serializes_when_fixed_to_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.88s [INFO] [stdout] [INFO] [stderr] Running tests/run.rs (/opt/rustwide/target/debug/build/polyglot-hooks/2274cbb345eb3553/out/run-2274cbb345eb3553) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test unknown_hook_name_is_rejected ... ok [INFO] [stdout] test missing_adapter_binary_fails_with_hint ... ok [INFO] [stdout] test fail_fast_stops_remaining_tasks ... ok [INFO] [stdout] test adapter_resolves_from_path_and_runs_check ... ok [INFO] [stdout] test failure_aggregates_all_tasks_then_exits_1 ... ok [INFO] [stdout] test unmatched_globs_skip_their_task ... ok [INFO] [stdout] test run_executes_tasks_in_declaration_order ... ok [INFO] [stdout] test file_placeholder_receives_staged_paths ... ok [INFO] [stdout] test all_files_flag_lints_tracked_not_staged_only ... ok [INFO] [stdout] test command_without_file_placeholder_runs_once ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36", kill_on_drop: false }` [INFO] [stdout] 81b09f4b5511843f07707a7a27f73e5f36f302aadd8d0c48bc231b3d81811a36