[INFO] fetching crate roan-ast 0.1.3... [INFO] testing roan-ast-0.1.3 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate roan-ast 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate roan-ast 0.1.3 [INFO] finished tweaking crates.io crate roan-ast 0.1.3 [INFO] tweaked toml for crates.io crate roan-ast 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate roan-ast 0.1.3 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1272974b7066bb132014895ef5dc0175e4015a341963a4e7d997c258063a1a8e [INFO] running `Command { std: "docker" "start" "-a" "1272974b7066bb132014895ef5dc0175e4015a341963a4e7d997c258063a1a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1272974b7066bb132014895ef5dc0175e4015a341963a4e7d997c258063a1a8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1272974b7066bb132014895ef5dc0175e4015a341963a4e7d997c258063a1a8e", kill_on_drop: false }` [INFO] [stdout] 1272974b7066bb132014895ef5dc0175e4015a341963a4e7d997c258063a1a8e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d6c46a47251d794428acde164da8a0f78708f1608499a3dc0837d440cce6966 [INFO] running `Command { std: "docker" "start" "-a" "0d6c46a47251d794428acde164da8a0f78708f1608499a3dc0837d440cce6966", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling roan-error v0.1.1 [INFO] [stderr] Compiling roan-ast v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/parser/statements.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse_pub(&mut self, expected: TokenKind) -> Result<(Token, bool)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lexer::NumberType` is more private than the item `lexer::Lexer::consume_number` [INFO] [stdout] --> src/lexer/mod.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn consume_number(&mut self) -> (NumberType, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `lexer::Lexer::consume_number` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `lexer::NumberType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/lexer/mod.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | enum NumberType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn chars(&self) -> Chars { [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] 73 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.42s [INFO] running `Command { std: "docker" "inspect" "0d6c46a47251d794428acde164da8a0f78708f1608499a3dc0837d440cce6966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d6c46a47251d794428acde164da8a0f78708f1608499a3dc0837d440cce6966", kill_on_drop: false }` [INFO] [stdout] 0d6c46a47251d794428acde164da8a0f78708f1608499a3dc0837d440cce6966 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9083ab011896990d6968ef3ce762233e8529cb198f512f2e9da2c286435ecbc7 [INFO] running `Command { std: "docker" "start" "-a" "9083ab011896990d6968ef3ce762233e8529cb198f512f2e9da2c286435ecbc7", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/parser/statements.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse_pub(&mut self, expected: TokenKind) -> Result<(Token, bool)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lexer::NumberType` is more private than the item `lexer::Lexer::consume_number` [INFO] [stdout] --> src/lexer/mod.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn consume_number(&mut self) -> (NumberType, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `lexer::Lexer::consume_number` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `lexer::NumberType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/lexer/mod.rs:377:1 [INFO] [stdout] | [INFO] [stdout] 377 | enum NumberType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn chars(&self) -> Chars { [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] 73 | pub fn chars(&self) -> Chars<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling roan-ast v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lexer/mod.rs:391:32 [INFO] [stdout] | [INFO] [stdout] 391 | let tokens = lexer.lex().expect("Lexing failed"); [INFO] [stdout] | ^^^-- argument #1 of type `bool` is missing [INFO] [stdout] ... [INFO] [stdout] 596 | test_tokens!(source, expected); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lexer/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn lex(&mut self, lex_comments: bool) -> Result> { [INFO] [stdout] | ^^^ ------------------ [INFO] [stdout] = note: this error originates in the macro `test_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 391 | let tokens = lexer.lex(/* bool */).expect("Lexing failed"); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lexer/mod.rs:604:28 [INFO] [stdout] | [INFO] [stdout] 604 | let result = lexer.lex(); [INFO] [stdout] | ^^^-- argument #1 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lexer/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn lex(&mut self, lex_comments: bool) -> Result> { [INFO] [stdout] | ^^^ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 604 | let result = lexer.lex(/* bool */); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lexer/mod.rs:615:28 [INFO] [stdout] | [INFO] [stdout] 615 | let result = lexer.lex(); [INFO] [stdout] | ^^^-- argument #1 of type `bool` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lexer/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn lex(&mut self, lex_comments: bool) -> Result> { [INFO] [stdout] | ^^^ ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 615 | let result = lexer.lex(/* bool */); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/parser/statements.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse_pub(&mut self, expected: TokenKind) -> Result<(Token, bool)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [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 E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `roan-ast` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9083ab011896990d6968ef3ce762233e8529cb198f512f2e9da2c286435ecbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9083ab011896990d6968ef3ce762233e8529cb198f512f2e9da2c286435ecbc7", kill_on_drop: false }` [INFO] [stdout] 9083ab011896990d6968ef3ce762233e8529cb198f512f2e9da2c286435ecbc7