[INFO] cloning repository https://github.com/mahkoh/linearize
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahkoh/linearize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahkoh%2Flinearize", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahkoh%2Flinearize'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b741e50c1ab40124bfcbb5e09cb4fcdea9c329ea
[INFO] checking mahkoh/linearize against try#d0ab665d12770dbaae620b539ee4319b83445f45 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahkoh%2Flinearize" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mahkoh/linearize
[INFO] finished tweaking git repo https://github.com/mahkoh/linearize
[INFO] tweaked toml for git repo https://github.com/mahkoh/linearize written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mahkoh/linearize on toolchain d0ab665d12770dbaae620b539ee4319b83445f45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mahkoh/linearize 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" "+d0ab665d12770dbaae620b539ee4319b83445f45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a
[INFO] running `Command { std: "docker" "start" "5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a", 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" "5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a" "/opt/rustwide/cargo-home/bin/cargo" "+d0ab665d12770dbaae620b539ee4319b83445f45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling defmt v1.1.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling defmt-macros v1.1.0
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]    Compiling linearize v0.1.7 (/opt/rustwide/workdir/linearize)
[INFO] [stderr]     Checking unicode-ident v1.0.22
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking arbitrary v1.4.2
[INFO] [stderr]    Compiling linearize-tests v0.1.0 (/opt/rustwide/workdir/linearize-tests)
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]     Checking linearize-derive v0.2.1 (/opt/rustwide/workdir/linearize-derive)
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling postcard-derive v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking cobs v0.3.0
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking postcard v1.1.3
[INFO] [stdout] error[E0158]: constant pattern cannot depend on generic parameters
[INFO] [stdout]    --> linearize-tests/src/tests/derive.rs:304:14
[INFO] [stdout]     |
[INFO] [stdout] 304 |       #[derive(Linearize, PartialEq, Debug)]
[INFO] [stdout]     |                ^^^^^^^^^ `const` depends on a generic parameter
[INFO] [stdout] 305 | /     enum E {
[INFO] [stdout] 306 | |         A,
[INFO] [stdout] 307 | |         C(Infallible),
[INFO] [stdout] 308 | |         B,
[INFO] [stdout] 309 | |     }
[INFO] [stdout]     | |     -
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |       constant defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the derive macro `Linearize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0158]: constant pattern cannot depend on generic parameters
[INFO] [stdout]    --> linearize-tests/src/tests/derive.rs:320:14
[INFO] [stdout]     |
[INFO] [stdout] 320 |       #[derive(Linearize, PartialEq, Debug)]
[INFO] [stdout]     |                ^^^^^^^^^ `const` depends on a generic parameter
[INFO] [stdout] 321 | /     enum E {
[INFO] [stdout] 322 | |         C(Infallible),
[INFO] [stdout] 323 | |         A,
[INFO] [stdout] 324 | |         B,
[INFO] [stdout] 325 | |     }
[INFO] [stdout]     | |     -
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |       constant defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the derive macro `Linearize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0158]: constant pattern cannot depend on generic parameters
[INFO] [stdout]    --> linearize-tests/src/tests/derive.rs:336:14
[INFO] [stdout]     |
[INFO] [stdout] 336 |       #[derive(Linearize, Debug, PartialEq)]
[INFO] [stdout]     |                ^^^^^^^^^ `const` depends on a generic parameter
[INFO] [stdout] 337 | /     #[rustfmt::skip]
[INFO] [stdout] 338 | |     enum E {
[INFO] [stdout] 339 | |         A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17,
[INFO] [stdout] 340 | |         A18, A19, A20, A21, A22, A23, A24, A25, A26, A27, A28, A29, A30, A31, A32, A33,
[INFO] [stdout] ...   |
[INFO] [stdout] 352 | |         A189, A190, A191, A192, A193, A194, A195, A196, A197, A198, A199,
[INFO] [stdout] 353 | |     }
[INFO] [stdout]     | |     -
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |       constant defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the derive macro `Linearize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0158`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linearize-tests` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a", kill_on_drop: false }`
[INFO] [stdout] 5fb9699db802aad0ca06b8cb1a5ae7a52c49a53475cd2fd3686f85e8c947ad4a
