[INFO] fetching crate rustre-parser 0.1.0... [INFO] testing rustre-parser-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rustre-parser 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rustre-parser 0.1.0 [INFO] finished tweaking crates.io crate rustre-parser 0.1.0 [INFO] tweaked toml for crates.io crate rustre-parser 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustre-parser 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf8bc5eb0d9ea81dbd8ca3e42b52ad0b59059b7f071545e062df19ea2661df78 [INFO] running `Command { std: "docker" "start" "-a" "cf8bc5eb0d9ea81dbd8ca3e42b52ad0b59059b7f071545e062df19ea2661df78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf8bc5eb0d9ea81dbd8ca3e42b52ad0b59059b7f071545e062df19ea2661df78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf8bc5eb0d9ea81dbd8ca3e42b52ad0b59059b7f071545e062df19ea2661df78", kill_on_drop: false }` [INFO] [stdout] cf8bc5eb0d9ea81dbd8ca3e42b52ad0b59059b7f071545e062df19ea2661df78 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f034c04e27ed8b2bbb573220af2b687c0d1e7b832eaadf6d7bc78fb8cd757cb7 [INFO] running `Command { std: "docker" "start" "-a" "f034c04e27ed8b2bbb573220af2b687c0d1e7b832eaadf6d7bc78fb8cd757cb7", kill_on_drop: false }` [INFO] [stderr] Compiling rustre-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `includes` and `decls` are never read [INFO] [stdout] --> src/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Ast<'a, 'f> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 35 | /// A list of files this file includes [INFO] [stdout] 36 | includes: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | /// The declarations this file contains [INFO] [stdout] 38 | decls: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ty`, and `clock` are never read [INFO] [stdout] --> src/parser.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct VariableDecl<'a, 'f> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 249 | /// Its name [INFO] [stdout] 250 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 251 | /// Its type [INFO] [stdout] 252 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stdout] | ^^ [INFO] [stdout] 253 | /// If None, the base clock is used [INFO] [stdout] 254 | clock: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ty`, `clock`, and `value` are never read [INFO] [stdout] --> src/parser.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct ValuedVariableDecl<'a, 'f> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 260 | /// Its name [INFO] [stdout] 261 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | /// Its type [INFO] [stdout] 263 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stdout] | ^^ [INFO] [stdout] 264 | /// If None, the base clock is used [INFO] [stdout] 265 | clock: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 266 | /// Its initial value [INFO] [stdout] 267 | value: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValuedVariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct ClockExpr<'a, 'f>( [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 276 | Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | Box>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ClockExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `expr` are never read [INFO] [stdout] --> src/parser.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct MergeCase<'a, 'f> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 432 | /// The LHS [INFO] [stdout] 433 | lhs: Spanned<'f, MergeLHS<'a, 'f>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 434 | /// The expression [INFO] [stdout] 435 | expr: Spanned<'f, Expr<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergeCase` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lex(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ --- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lex(&mut self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "f034c04e27ed8b2bbb573220af2b687c0d1e7b832eaadf6d7bc78fb8cd757cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f034c04e27ed8b2bbb573220af2b687c0d1e7b832eaadf6d7bc78fb8cd757cb7", kill_on_drop: false }` [INFO] [stdout] f034c04e27ed8b2bbb573220af2b687c0d1e7b832eaadf6d7bc78fb8cd757cb7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9e5cddcb43f0bf3798aa3f03598cd357ec65c3e29a6c8d288065f25f74de66f4 [INFO] running `Command { std: "docker" "start" "-a" "9e5cddcb43f0bf3798aa3f03598cd357ec65c3e29a6c8d288065f25f74de66f4", kill_on_drop: false }` [INFO] [stdout] warning: fields `includes` and `decls` are never read [INFO] [stdout] --> src/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Ast<'a, 'f> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 35 | /// A list of files this file includes [INFO] [stdout] 36 | includes: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | /// The declarations this file contains [INFO] [stdout] 38 | decls: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ty`, and `clock` are never read [INFO] [stdout] --> src/parser.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct VariableDecl<'a, 'f> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 249 | /// Its name [INFO] [stdout] 250 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 251 | /// Its type [INFO] [stdout] 252 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stdout] | ^^ [INFO] [stdout] 253 | /// If None, the base clock is used [INFO] [stdout] 254 | clock: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustre-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `name`, `ty`, `clock`, and `value` are never read [INFO] [stdout] --> src/parser.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct ValuedVariableDecl<'a, 'f> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 260 | /// Its name [INFO] [stdout] 261 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | /// Its type [INFO] [stdout] 263 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stdout] | ^^ [INFO] [stdout] 264 | /// If None, the base clock is used [INFO] [stdout] 265 | clock: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 266 | /// Its initial value [INFO] [stdout] 267 | value: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValuedVariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct ClockExpr<'a, 'f>( [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 276 | Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | Box>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ClockExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `expr` are never read [INFO] [stdout] --> src/parser.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct MergeCase<'a, 'f> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 432 | /// The LHS [INFO] [stdout] 433 | lhs: Spanned<'f, MergeLHS<'a, 'f>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 434 | /// The expression [INFO] [stdout] 435 | expr: Spanned<'f, Expr<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergeCase` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lex(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ --- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lex(&mut self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `includes` and `decls` are never read [INFO] [stdout] --> src/parser.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Ast<'a, 'f> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 35 | /// A list of files this file includes [INFO] [stdout] 36 | includes: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | /// The declarations this file contains [INFO] [stdout] 38 | decls: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ty`, and `clock` are never read [INFO] [stdout] --> src/parser.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 248 | pub struct VariableDecl<'a, 'f> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 249 | /// Its name [INFO] [stdout] 250 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 251 | /// Its type [INFO] [stdout] 252 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stdout] | ^^ [INFO] [stdout] 253 | /// If None, the base clock is used [INFO] [stdout] 254 | clock: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `ty`, `clock`, and `value` are never read [INFO] [stdout] --> src/parser.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 259 | pub struct ValuedVariableDecl<'a, 'f> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 260 | /// Its name [INFO] [stdout] 261 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | /// Its type [INFO] [stdout] 263 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stdout] | ^^ [INFO] [stdout] 264 | /// If None, the base clock is used [INFO] [stdout] 265 | clock: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 266 | /// Its initial value [INFO] [stdout] 267 | value: Option>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValuedVariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub struct ClockExpr<'a, 'f>( [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 276 | Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | Box>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ClockExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `expr` are never read [INFO] [stdout] --> src/parser.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 431 | pub struct MergeCase<'a, 'f> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 432 | /// The LHS [INFO] [stdout] 433 | lhs: Spanned<'f, MergeLHS<'a, 'f>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 434 | /// The expression [INFO] [stdout] 435 | expr: Spanned<'f, Expr<'a, 'f>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergeCase` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lex(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ --- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | pub fn lex(&mut self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "9e5cddcb43f0bf3798aa3f03598cd357ec65c3e29a6c8d288065f25f74de66f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5cddcb43f0bf3798aa3f03598cd357ec65c3e29a6c8d288065f25f74de66f4", kill_on_drop: false }` [INFO] [stdout] 9e5cddcb43f0bf3798aa3f03598cd357ec65c3e29a6c8d288065f25f74de66f4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b0c2609ad1a554826f6857832dfa74e72f49322156b0c7bc5fd2bd7e314c838f [INFO] running `Command { std: "docker" "start" "-a" "b0c2609ad1a554826f6857832dfa74e72f49322156b0c7bc5fd2bd7e314c838f", kill_on_drop: false }` [INFO] [stderr] warning: fields `includes` and `decls` are never read [INFO] [stderr] --> src/parser.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct Ast<'a, 'f> { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 35 | /// A list of files this file includes [INFO] [stderr] 36 | includes: Vec>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 37 | /// The declarations this file contains [INFO] [stderr] 38 | decls: Vec>>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `ty`, and `clock` are never read [INFO] [stderr] --> src/parser.rs:250:5 [INFO] [stderr] | [INFO] [stderr] 248 | pub struct VariableDecl<'a, 'f> { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 249 | /// Its name [INFO] [stderr] 250 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 251 | /// Its type [INFO] [stderr] 252 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stderr] | ^^ [INFO] [stderr] 253 | /// If None, the base clock is used [INFO] [stderr] 254 | clock: Option>>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `ty`, `clock`, and `value` are never read [INFO] [stderr] --> src/parser.rs:261:5 [INFO] [stderr] | [INFO] [stderr] 259 | pub struct ValuedVariableDecl<'a, 'f> { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 260 | /// Its name [INFO] [stderr] 261 | name: Spanned<'f, Ident<'a, 'f>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 262 | /// Its type [INFO] [stderr] 263 | ty: Spanned<'f, TyExpr<'a, 'f>>, [INFO] [stderr] | ^^ [INFO] [stderr] 264 | /// If None, the base clock is used [INFO] [stderr] 265 | clock: Option>>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 266 | /// Its initial value [INFO] [stderr] 267 | value: Option>>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ValuedVariableDecl` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/parser.rs:276:5 [INFO] [stderr] | [INFO] [stderr] 272 | pub struct ClockExpr<'a, 'f>( [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 276 | Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 280 | Box>>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] = note: `ClockExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `lhs` and `expr` are never read [INFO] [stderr] --> src/parser.rs:433:5 [INFO] [stderr] | [INFO] [stderr] 431 | pub struct MergeCase<'a, 'f> { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 432 | /// The LHS [INFO] [stderr] 433 | lhs: Spanned<'f, MergeLHS<'a, 'f>>, [INFO] [stderr] | ^^^ [INFO] [stderr] 434 | /// The expression [INFO] [stderr] 435 | expr: Spanned<'f, Expr<'a, 'f>>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MergeCase` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lexer.rs:141:16 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn lex(&mut self) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^ --- [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 141 | pub fn lex(&mut self) -> Result>, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lexer.rs:454:13 [INFO] [stderr] | [INFO] [stderr] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ---- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 454 | fn span(&self, line: usize, col: usize, pos: usize, len: usize) -> Span<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rustre-parser` (lib) generated 7 warnings (run `cargo fix --lib -p rustre-parser` to apply 2 suggestions) [INFO] [stderr] warning: `rustre-parser` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rustre_parser-c815c08ee473015b) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test lexer::tests::test_arrow ... ok [INFO] [stdout] test lexer::tests::test_const_slice ... ok [INFO] [stdout] test lexer::tests::test_comments ... ok [INFO] [stdout] test lexer::tests::test_empty ... ok [INFO] [stdout] test lexer::tests::test_amaury ... ok [INFO] [stdout] test lexer::tests::test_keyword ... ok [INFO] [stdout] test lexer::tests::test_keywords ... ok [INFO] [stdout] test lexer::tests::test_ops ... ok [INFO] [stdout] test lexer::tests::test_spaces ... ok [INFO] [stdout] test lexer::tests::test_static_pars ... ok [INFO] [stdout] test lexer::tests::test_rconst ... ok [INFO] [stdout] test lexer::tests::test_ident ... ok [INFO] [stdout] test lexer::tests::test_iconst ... ok [INFO] [stdout] test lexer::tests::test_str ... ok [INFO] [stdout] test lexer::tests::test_unclosed_comment ... ok [INFO] [stdout] test lexer::tests::test_unclosed_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0c2609ad1a554826f6857832dfa74e72f49322156b0c7bc5fd2bd7e314c838f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0c2609ad1a554826f6857832dfa74e72f49322156b0c7bc5fd2bd7e314c838f", kill_on_drop: false }` [INFO] [stdout] b0c2609ad1a554826f6857832dfa74e72f49322156b0c7bc5fd2bd7e314c838f