[INFO] fetching crate lexerus 0.1.9... [INFO] testing lexerus-0.1.9 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lexerus 0.1.9 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lexerus 0.1.9 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692c0653a5bbdcf119c230ef3d942353d3e5a1ffd9eb33c23aaa41b64aaacae5 [INFO] running `Command { std: "docker" "start" "-a" "692c0653a5bbdcf119c230ef3d942353d3e5a1ffd9eb33c23aaa41b64aaacae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692c0653a5bbdcf119c230ef3d942353d3e5a1ffd9eb33c23aaa41b64aaacae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692c0653a5bbdcf119c230ef3d942353d3e5a1ffd9eb33c23aaa41b64aaacae5", kill_on_drop: false }` [INFO] [stdout] 692c0653a5bbdcf119c230ef3d942353d3e5a1ffd9eb33c23aaa41b64aaacae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf5ea5c6407eb71ec7d38eaf22778d6ef780035877a094acc52ada7385d1c692 [INFO] running `Command { std: "docker" "start" "-a" "bf5ea5c6407eb71ec7d38eaf22778d6ef780035877a094acc52ada7385d1c692", 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.17s [INFO] running `Command { std: "docker" "inspect" "bf5ea5c6407eb71ec7d38eaf22778d6ef780035877a094acc52ada7385d1c692", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5ea5c6407eb71ec7d38eaf22778d6ef780035877a094acc52ada7385d1c692", kill_on_drop: false }` [INFO] [stdout] bf5ea5c6407eb71ec7d38eaf22778d6ef780035877a094acc52ada7385d1c692 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a46ca4fc1f27990e9878cd68b489e48ba63ee05384e339ae607bf6d575a9597a [INFO] running `Command { std: "docker" "start" "-a" "a46ca4fc1f27990e9878cd68b489e48ba63ee05384e339ae607bf6d575a9597a", 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 `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] 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 `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] [stderr] error: could not compile `lexerus` (test "helpers_not") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexerus` (test "helpers_group_book_end") due to 2 previous errors [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: 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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexerus` (test "helpers_group_until") due to 6 previous errors [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[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] 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] For more information about this error, try `rustc --explain E0425`. [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] [stderr] error: could not compile `lexerus` (test "impl_phantom") due to 1 previous error [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] For more information about this error, try `rustc --explain E0425`. [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 "helpers_group") due to 4 previous errors [INFO] [stderr] error: could not compile `lexerus` (test "derive") due to 12 previous errors; 3 warnings emitted [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] running `Command { std: "docker" "inspect" "a46ca4fc1f27990e9878cd68b489e48ba63ee05384e339ae607bf6d575a9597a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a46ca4fc1f27990e9878cd68b489e48ba63ee05384e339ae607bf6d575a9597a", kill_on_drop: false }` [INFO] [stdout] a46ca4fc1f27990e9878cd68b489e48ba63ee05384e339ae607bf6d575a9597a