[INFO] fetching crate siffra 0.2.2... [INFO] checking siffra-0.2.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate siffra 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate siffra 0.2.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate siffra 0.2.2 [INFO] finished tweaking crates.io crate siffra 0.2.2 [INFO] tweaked toml for crates.io crate siffra 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c6bfcb40e19de328129d8b144d152c5363a7cdaa2e3312cc458910e3354a35a [INFO] running `Command { std: "docker" "start" "-a" "5c6bfcb40e19de328129d8b144d152c5363a7cdaa2e3312cc458910e3354a35a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c6bfcb40e19de328129d8b144d152c5363a7cdaa2e3312cc458910e3354a35a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6bfcb40e19de328129d8b144d152c5363a7cdaa2e3312cc458910e3354a35a", kill_on_drop: false }` [INFO] [stdout] 5c6bfcb40e19de328129d8b144d152c5363a7cdaa2e3312cc458910e3354a35a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 619941db6322aefa6942b633479fb7d3d54cedb574b4be50b27e9f1e10f60052 [INFO] running `Command { std: "docker" "start" "-a" "619941db6322aefa6942b633479fb7d3d54cedb574b4be50b27e9f1e10f60052", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling periodic-table-on-an-enum v0.3.2 [INFO] [stderr] Compiling astro-float-num v0.3.5 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Compiling astro-float-macro v0.4.4 [INFO] [stderr] Checking astro-float v0.9.4 [INFO] [stderr] Checking siffra v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/grammar/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: grammar error [INFO] [stdout] [INFO] [stdout] --> 93:64 [INFO] [stdout] | [INFO] [stdout] 93 | ungrouped_function = ${#name = ident ~ " " ~ !convert_op ~ #input = atom} [INFO] [stdout] | ^-----------^ [INFO] [stdout] | [INFO] [stdout] = tags on silent rules will not appear in the output [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/grammar/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: grammar error [INFO] [stdout] [INFO] [stdout] --> 93:64 [INFO] [stdout] | [INFO] [stdout] 93 | ungrouped_function = ${#name = ident ~ " " ~ !convert_op ~ #input = atom} [INFO] [stdout] | ^-----------^ [INFO] [stdout] | [INFO] [stdout] = tags on silent rules will not appear in the output [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::grammar::Rule` [INFO] [stdout] --> src/evaluation/mod.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::grammar::{parse_line, Rule, SiffraParser, Span}; [INFO] [stdout] | ^^^^ no `Rule` in `grammar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Rule` [INFO] [stdout] --> src/grammar/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use Rule::*; [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::grammar::Rule` [INFO] [stdout] --> src/evaluation/mod.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::grammar::{parse_line, Rule, SiffraParser, Span}; [INFO] [stdout] | ^^^^ no `Rule` in `grammar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Rule` [INFO] [stdout] --> src/grammar/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use Rule::*; [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/evaluation/mod.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let pairs = SiffraParser::parse(Rule::line, line).map_err(|e| match e.location { [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] ::: src/grammar/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SiffraParser` in the current scope [INFO] [stdout] --> src/evaluation/mod.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let pairs = SiffraParser::parse(Rule::line, line).map_err(|e| match e.location { [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] ::: src/grammar/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_primary` found for struct `PRATT_PARSER` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static::lazy_static! { [INFO] [stdout] 18 | | static ref PRATT_PARSER: PrattParser = { [INFO] [stdout] 19 | | use pest::pratt_parser::{Assoc::*, Op}; [INFO] [stdout] 20 | | use Rule::*; [INFO] [stdout] ... | [INFO] [stdout] 33 | | }; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- method `map_primary` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 169 | / PRATT_PARSER [INFO] [stdout] 170 | | .map_primary(|primary| match primary.as_rule() { [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `PRATT_PARSER` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:341:46 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 341 | let _expr = parse_expr(SiffraParser::parse(Rule::expr, "log2(5(x)(y)) as mol %").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:342:46 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 342 | let _expr = parse_expr(SiffraParser::parse(Rule::expr, "a times 2% of 3").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:347:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 347 | let line = parse_line(SiffraParser::parse(Rule::line, "x = 5").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:349:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 349 | let line = parse_line(SiffraParser::parse(Rule::line, "log2(5(x)(y)) as mol %").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:351:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 351 | let line = parse_line(SiffraParser::parse(Rule::line, "// This is a comment").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 353 | let line = parse_line(SiffraParser::parse(Rule::line, "/* This is a comment */").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 359 | let _expr = parse_expr(SiffraParser::parse(Rule::expr, "log 5a").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `grammar::SiffraParser` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:364:45 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SiffraParser; [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 364 | let expr = parse_expr(SiffraParser::parse(Rule::expr, "sin(cos(5))").unwrap()); [INFO] [stdout] | ^^^^^ function or associated item not found in `SiffraParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_primary` found for struct `PRATT_PARSER` in the current scope [INFO] [stdout] --> src/grammar/mod.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 17 | / lazy_static::lazy_static! { [INFO] [stdout] 18 | | static ref PRATT_PARSER: PrattParser = { [INFO] [stdout] 19 | | use pest::pratt_parser::{Assoc::*, Op}; [INFO] [stdout] 20 | | use Rule::*; [INFO] [stdout] ... | [INFO] [stdout] 33 | | }; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- method `map_primary` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 169 | / PRATT_PARSER [INFO] [stdout] 170 | | .map_primary(|primary| match primary.as_rule() { [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `PRATT_PARSER` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/evaluation/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/evaluation/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/grammar/mod.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `siffra` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `siffra` (lib test) due to 14 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "619941db6322aefa6942b633479fb7d3d54cedb574b4be50b27e9f1e10f60052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "619941db6322aefa6942b633479fb7d3d54cedb574b4be50b27e9f1e10f60052", kill_on_drop: false }` [INFO] [stdout] 619941db6322aefa6942b633479fb7d3d54cedb574b4be50b27e9f1e10f60052