[INFO] fetching crate hinku 0.1.0... [INFO] testing hinku-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate hinku 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate hinku 0.1.0 [INFO] finished tweaking crates.io crate hinku 0.1.0 [INFO] tweaked toml for crates.io crate hinku 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hinku 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding logos v0.11.4 (available: v0.15.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e1d1e11e54e02693c4575016fe79c1e57b8ddeff96d899131ec8ef9a3e2b89 [INFO] running `Command { std: "docker" "start" "-a" "d7e1d1e11e54e02693c4575016fe79c1e57b8ddeff96d899131ec8ef9a3e2b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e1d1e11e54e02693c4575016fe79c1e57b8ddeff96d899131ec8ef9a3e2b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e1d1e11e54e02693c4575016fe79c1e57b8ddeff96d899131ec8ef9a3e2b89", kill_on_drop: false }` [INFO] [stdout] d7e1d1e11e54e02693c4575016fe79c1e57b8ddeff96d899131ec8ef9a3e2b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3e7b93d70ad5a33e4dcee72cc2ef1e90c4da1579d8dc93af5a2b911d6e49f5a [INFO] running `Command { std: "docker" "start" "-a" "e3e7b93d70ad5a33e4dcee72cc2ef1e90c4da1579d8dc93af5a2b911d6e49f5a", kill_on_drop: false }` [INFO] [stderr] Compiling hinku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | fn fork(&mut self) -> TokenStreamFork { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn fork(&mut self) -> TokenStreamFork<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "e3e7b93d70ad5a33e4dcee72cc2ef1e90c4da1579d8dc93af5a2b911d6e49f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3e7b93d70ad5a33e4dcee72cc2ef1e90c4da1579d8dc93af5a2b911d6e49f5a", kill_on_drop: false }` [INFO] [stdout] e3e7b93d70ad5a33e4dcee72cc2ef1e90c4da1579d8dc93af5a2b911d6e49f5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccdc31a37da5aa7da56bed33d14c7158b9e9df6e27aade6b4f4a4f34db3dabf4 [INFO] running `Command { std: "docker" "start" "-a" "ccdc31a37da5aa7da56bed33d14c7158b9e9df6e27aade6b4f4a4f34db3dabf4", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | fn fork(&mut self) -> TokenStreamFork { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn fork(&mut self) -> TokenStreamFork<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hinku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | fn fork(&mut self) -> TokenStreamFork { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 217 | fn fork(&mut self) -> TokenStreamFork<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "ccdc31a37da5aa7da56bed33d14c7158b9e9df6e27aade6b4f4a4f34db3dabf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccdc31a37da5aa7da56bed33d14c7158b9e9df6e27aade6b4f4a4f34db3dabf4", kill_on_drop: false }` [INFO] [stdout] ccdc31a37da5aa7da56bed33d14c7158b9e9df6e27aade6b4f4a4f34db3dabf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3eda2541a163e2468923d7f36e6204eac8dae91176e6f84b6a5b1ea1b95fb238 [INFO] running `Command { std: "docker" "start" "-a" "3eda2541a163e2468923d7f36e6204eac8dae91176e6f84b6a5b1ea1b95fb238", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | fn fork(&mut self) -> TokenStreamFork { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 217 | fn fork(&mut self) -> TokenStreamFork<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `hinku` (lib) generated 1 warning (run `cargo fix --lib -p hinku` to apply 1 suggestion) [INFO] [stderr] warning: `hinku` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hinku-6c1d721ef8885b1c) [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] [stderr] Doc-tests hinku [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `hinku::logos` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | logos::BufferedLexer, [INFO] [stdout] | ^^^^^ could not find `logos` in `hinku` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg(feature = "logos")] [INFO] [stdout] | ----------------- the item is gated behind the `logos` feature [INFO] [stdout] 72 | pub mod logos; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `logos` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use logos::Logos; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `logos` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/logos.rs, use `mod logos` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 4 + mod logos; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> src/lib.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[token("foo")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `token` in this scope [INFO] [stdout] --> src/lib.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[token("bar")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/lib.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[error] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `regex` in this scope [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[regex(r"[ \n\r\f\t]+", logos::skip)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `lexer` found for enum `Token` in the current scope [INFO] [stdout] --> src/lib.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 18 | enum Token { [INFO] [stdout] | ---------- variant or associated item `lexer` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 63 | let lex = Token::lexer("foo bar bar foo bar"); [INFO] [stdout] | ^^^^^ variant or associated item not found in `Token` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expected` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 50 | / stream.either(foo, bar) [INFO] [stdout] 51 | | .map(Either::merge) [INFO] [stdout] 52 | | .expected("expected either a foo or a bar") [INFO] [stdout] | |_________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | fn expected(self, context: C) -> ParseResult where E: From; [INFO] [stdout] | -------- the method is available for `Result>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ParseResultExt` which provides `expected` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use crate::hinku::ParseResultExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `expect` with a similar name [INFO] [stdout] | [INFO] [stdout] 52 - .expected("expected either a foo or a bar") [INFO] [stdout] 52 + .expect("expected either a foo or a bar") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3eda2541a163e2468923d7f36e6204eac8dae91176e6f84b6a5b1ea1b95fb238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eda2541a163e2468923d7f36e6204eac8dae91176e6f84b6a5b1ea1b95fb238", kill_on_drop: false }` [INFO] [stdout] 3eda2541a163e2468923d7f36e6204eac8dae91176e6f84b6a5b1ea1b95fb238