[INFO] fetching crate lexerus 0.1.9... [INFO] testing lexerus-0.1.9 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate lexerus 0.1.9 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate lexerus 0.1.9 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lexerus 0.1.9 [INFO] tweaked toml for crates.io crate lexerus 0.1.9 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lexerus 0.1.9 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lexerus 0.1.9 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexerus_derive v0.1.0 [INFO] [stderr] Downloaded syn v2.0.75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70e6b0aafbd58ae62b4e96817cbf3e8a44e2fcca75acad83780fbccd4e543ac5 [INFO] running `Command { std: "docker" "start" "-a" "70e6b0aafbd58ae62b4e96817cbf3e8a44e2fcca75acad83780fbccd4e543ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70e6b0aafbd58ae62b4e96817cbf3e8a44e2fcca75acad83780fbccd4e543ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e6b0aafbd58ae62b4e96817cbf3e8a44e2fcca75acad83780fbccd4e543ac5", kill_on_drop: false }` [INFO] [stdout] 70e6b0aafbd58ae62b4e96817cbf3e8a44e2fcca75acad83780fbccd4e543ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f99908d21bd810a3baff6a3637cc35b42ed1d86ff7feb1d8026f07ecc3785390 [INFO] running `Command { std: "docker" "start" "-a" "f99908d21bd810a3baff6a3637cc35b42ed1d86ff7feb1d8026f07ecc3785390", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling lexerus_derive v0.1.0 [INFO] [stderr] Compiling lexerus v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: feature `box_into_inner` is declared but not used [INFO] [stdout] --> src/lib.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_try_from_fn, box_into_inner)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.81s [INFO] running `Command { std: "docker" "inspect" "f99908d21bd810a3baff6a3637cc35b42ed1d86ff7feb1d8026f07ecc3785390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99908d21bd810a3baff6a3637cc35b42ed1d86ff7feb1d8026f07ecc3785390", kill_on_drop: false }` [INFO] [stdout] f99908d21bd810a3baff6a3637cc35b42ed1d86ff7feb1d8026f07ecc3785390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d97e559a50704eaf5be90ab700b99b9b009359302eed345e563f5198b7985fff [INFO] running `Command { std: "docker" "start" "-a" "d97e559a50704eaf5be90ab700b99b9b009359302eed345e563f5198b7985fff", kill_on_drop: false }` [INFO] [stdout] warning: feature `box_into_inner` is declared but not used [INFO] [stdout] --> src/lib.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_try_from_fn, box_into_inner)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lexerus v0.1.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `Group` in this scope [INFO] [stdout] --> tests/impl_phantom.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | TestBuild::>>::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `GroupUntil` in this scope [INFO] [stdout] --> tests/helpers_group_until.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `GroupUntil` in this scope [INFO] [stdout] --> tests/helpers_group_until.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `GroupUntil` in this scope [INFO] [stdout] --> tests/helpers_group_until.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `GroupUntil` in this scope [INFO] [stdout] --> tests/helpers_group_until.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `GroupUntil` in this scope [INFO] [stdout] --> tests/helpers_group_until.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `GroupUntil` in this scope [INFO] [stdout] --> tests/helpers_group_until.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | >::NAME [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Not` in this scope [INFO] [stdout] --> tests/helpers_not.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | TestBuild::>::new( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::ops::Not; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexerus` (test "impl_phantom") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lexerus` (test "helpers_group_until") due to 6 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexerus` (test "helpers_not") due to 1 previous error [INFO] [stdout] error: only one lifetime is permitted as the tokens are constructed from a single source tree [INFO] [stdout] --> tests/derive.rs:163:16 [INFO] [stdout] | [INFO] [stdout] 163 | struct Wrap(T); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `before` in this scope [INFO] [stdout] --> tests/derive.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[before(Quote<'code>)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `before` in this scope [INFO] [stdout] --> tests/derive.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[before(Quote<'code>)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `after` in this scope [INFO] [stdout] --> tests/derive.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[after(Quote<'code>)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `after` in this scope [INFO] [stdout] --> tests/derive.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[after(Quote<'code>)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `before` in this scope [INFO] [stdout] --> tests/derive.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[before(Quote<'code>, Ra<'code>)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `after` in this scope [INFO] [stdout] --> tests/derive.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 121 | #[after(Quote<'code>)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `before` in this scope [INFO] [stdout] --> tests/derive.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[before(Quote<'code>, Ra<'code>)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `before` in this scope [INFO] [stdout] --> tests/derive.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[before(Ra<'code>)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `after` in this scope [INFO] [stdout] --> tests/derive.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | #[after(Quote<'code>)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Wrap>: lexerus::Lexer<'_>` is not satisfied [INFO] [stdout] --> tests/derive.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | lexerus::TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `lexerus::Lexer<'_>` is not implemented for `Wrap>` [INFO] [stdout] --> tests/derive.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | struct Wrap(T); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `lexerus::Lexer<'code>`: [INFO] [stdout] Arc [INFO] [stdout] Box [INFO] [stdout] IgnoredTrex<'code> [INFO] [stdout] Option [INFO] [stdout] PhantomData [INFO] [stdout] Quote<'code> [INFO] [stdout] Rc [INFO] [stdout] TaggedTrex<'code> [INFO] [stdout] and 12 others [INFO] [stdout] note: required by a bound in `TestBuild` [INFO] [stdout] --> src/tests.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TestBuild<'code, Capture> [INFO] [stdout] | --------- required by a bound in this struct [INFO] [stdout] 8 | where [INFO] [stdout] 9 | Capture: Lexer<'code>, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `TestBuild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `new` exists for struct `TestBuild<'_, Wrap>>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/derive.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 163 | struct Wrap(T); [INFO] [stdout] | -------------- doesn't satisfy `Wrap>: lexerus::Lexer<'_>` [INFO] [stdout] 164 | [INFO] [stdout] 165 | lexerus::TestBuild::>::new( [INFO] [stdout] | ^^^ function or associated item cannot be called on `TestBuild<'_, Wrap>>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Wrap>: lexerus::Lexer<'_>` [INFO] [stdout] note: the trait `lexerus::Lexer` must be implemented [INFO] [stdout] --> src/lexer.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Lexer<'code> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captured` [INFO] [stdout] --> tests/derive.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | .pass(Some(r#"rawr"#))(|buffer, captured| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captured` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captured` [INFO] [stdout] --> tests/derive.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | .pass(Some(r#"wr"#))(|buffer, captured| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `captured` [INFO] [stdout] --> tests/derive.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | .pass(Some(r#"wr"#))(|buffer, captured| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_captured` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexerus` (test "derive") due to 12 previous errors; 3 warnings emitted [INFO] [stdout] error[E0425]: cannot find type `GroupBookEnd` in this scope [INFO] [stdout] --> tests/helpers_group_book_end.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `GroupBookEnd` in this scope [INFO] [stdout] --> tests/helpers_group_book_end.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | TestBuild::>::new( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Group` in this scope [INFO] [stdout] --> tests/helpers_group.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | TestBuild::>::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Group` in this scope [INFO] [stdout] --> tests/helpers_group.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | TestBuild::>::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Group` in this scope [INFO] [stdout] --> tests/helpers_group.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | TestBuild::>::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Group` in this scope [INFO] [stdout] --> tests/helpers_group.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | TestBuild::>::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `box_into_inner` is declared but not used [INFO] [stdout] --> src/lib.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(array_try_from_fn, box_into_inner)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lexerus` (test "helpers_group_book_end") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexerus` (test "helpers_group") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d97e559a50704eaf5be90ab700b99b9b009359302eed345e563f5198b7985fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97e559a50704eaf5be90ab700b99b9b009359302eed345e563f5198b7985fff", kill_on_drop: false }` [INFO] [stdout] d97e559a50704eaf5be90ab700b99b9b009359302eed345e563f5198b7985fff