[INFO] fetching crate libcst 1.8.6... [INFO] checking libcst-1.8.6 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate libcst 1.8.6 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate libcst 1.8.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libcst 1.8.6 [INFO] tweaked toml for crates.io crate libcst 1.8.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libcst 1.8.6 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libcst 1.8.6 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7430dcf2d75ebc770354cefdd50bb89bd9a942a95c138dee394d34164e2533c7 [INFO] running `Command { std: "docker" "start" "-a" "7430dcf2d75ebc770354cefdd50bb89bd9a942a95c138dee394d34164e2533c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7430dcf2d75ebc770354cefdd50bb89bd9a942a95c138dee394d34164e2533c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7430dcf2d75ebc770354cefdd50bb89bd9a942a95c138dee394d34164e2533c7", kill_on_drop: false }` [INFO] [stdout] 7430dcf2d75ebc770354cefdd50bb89bd9a942a95c138dee394d34164e2533c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c75ba11bd7ac1700431bb780573dabb2a1f8f44f977e3232599e3c9f95b5aeb [INFO] running `Command { std: "docker" "start" "-a" "2c75ba11bd7ac1700431bb780573dabb2a1f8f44f977e3232599e3c9f95b5aeb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking ciborium-io v0.2.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking annotate-snippets v0.11.5 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking ciborium-ll v0.2.0 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling pyo3-build-config v0.26.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking peg v0.8.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.26.0 [INFO] [stderr] Compiling pyo3-ffi v0.26.0 [INFO] [stderr] Compiling pyo3 v0.26.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling libcst_derive v1.8.6 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling pyo3-macros v0.26.0 [INFO] [stderr] Checking ciborium v0.2.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stderr] Checking libcst v1.8.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DeflatedAsynchronous as Asynchronous`, `DeflatedFormattedStringText as FormattedStringText`, and `DeflatedTemplatedStringText as TemplatedStringText` [INFO] [stdout] --> src/nodes/mod.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | DeflatedArg as Arg, DeflatedAsynchronous as Asynchronous, DeflatedAttribute as Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | DeflatedFormattedStringText as FormattedStringText, DeflatedFrom as From, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | DeflatedTemplatedStringText as TemplatedStringText, DeflatedTuple as Tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeflatedImportStar as ImportStar` [INFO] [stdout] --> src/nodes/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | DeflatedImportStar as ImportStar, DeflatedSemicolon as Semicolon, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DeflatedAsynchronous as Asynchronous`, `DeflatedFormattedStringText as FormattedStringText`, and `DeflatedTemplatedStringText as TemplatedStringText` [INFO] [stdout] --> src/nodes/mod.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | DeflatedArg as Arg, DeflatedAsynchronous as Asynchronous, DeflatedAttribute as Attribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | DeflatedFormattedStringText as FormattedStringText, DeflatedFrom as From, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | DeflatedTemplatedStringText as TemplatedStringText, DeflatedTuple as Tuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeflatedImportStar as ImportStar` [INFO] [stdout] --> src/nodes/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | DeflatedImportStar as ImportStar, DeflatedSemicolon as Semicolon, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `string_start` is never read [INFO] [stdout] --> src/tokenizer/core/string_types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FTStringNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub string_start: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTStringNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lpar` and `rpar` are never used [INFO] [stdout] --> src/nodes/traits.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait ParenthesizedDeflatedNode<'r, 'a> { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 57 | fn lpar(&self) -> &Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | fn rpar(&self) -> &Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn tokenize(text: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 23 | pub fn tokenize(text: &str) -> Result<'_, Vec>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parse_statement(text: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parse_statement(text: &str) -> Result<'_, Statement<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn parse_expression(text: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn parse_expression(text: &str) -> Result<'_, Expression<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pyo3::Bound<'_, PyString>> [INFO] [stdout] --> src/parser/errors.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | ("message", e.to_string().into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/parser/errors.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | ("message", e.to_string().into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pyo3::Bound<'_, PyInt>> [INFO] [stdout] --> src/parser/errors.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | ("raw_line", (line + 1).into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/parser/errors.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | ("raw_line", (line + 1).into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pyo3::Bound<'_, PyInt>> [INFO] [stdout] --> src/parser/errors.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | ("raw_column", col.into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/parser/errors.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | ("raw_column", col.into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/numbers.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn parse_number(raw: &str) -> Expression { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn parse_number(raw: &str) -> Expression<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcst` (lib) due to 6 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `string_start` is never read [INFO] [stdout] --> src/tokenizer/core/string_types.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct FTStringNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | pub string_start: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FTStringNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lpar` and `rpar` are never used [INFO] [stdout] --> src/nodes/traits.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub trait ParenthesizedDeflatedNode<'r, 'a> { [INFO] [stdout] | ------------------------- methods in this trait [INFO] [stdout] 57 | fn lpar(&self) -> &Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | fn rpar(&self) -> &Vec>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn tokenize(text: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 23 | pub fn tokenize(text: &str) -> Result<'_, Vec>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parse_statement(text: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parse_statement(text: &str) -> Result<'_, Statement<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:70:31 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn parse_expression(text: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn parse_expression(text: &str) -> Result<'_, Expression<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokenizer/whitespace_parser.rs:461:38 [INFO] [stdout] | [INFO] [stdout] 461 | fn _parse_simple_whitespace(src: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 461 | fn _parse_simple_whitespace(src: &str) -> Result<'_, SimpleWhitespace<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokenizer/whitespace_parser.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | fn _parse_comment(src: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 502 | fn _parse_comment(src: &str) -> Result<'_, Option>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pyo3::Bound<'_, PyString>> [INFO] [stdout] --> src/parser/errors.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | ("message", e.to_string().into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/parser/errors.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | ("message", e.to_string().into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pyo3::Bound<'_, PyInt>> [INFO] [stdout] --> src/parser/errors.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | ("raw_line", (line + 1).into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/parser/errors.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | ("raw_line", (line + 1).into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, pyo3::Bound<'_, PyInt>> [INFO] [stdout] --> src/parser/errors.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | ("raw_column", col.into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/parser/errors.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | ("raw_column", col.into_pyobject(py)?.into_any()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/numbers.rs:43:33 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn parse_number(raw: &str) -> Expression { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn parse_number(raw: &str) -> Expression<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lib.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | "Failed to parse t'{{hello}}'" [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 202 | "{}", "Failed to parse t'{{hello}}'" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lib.rs:206:32 [INFO] [stdout] | [INFO] [stdout] 206 | "Failed to parse t'{{hello:r}}'" [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 206 | "{}", "Failed to parse t'{{hello:r}}'" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/lib.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | "Failed to parse t'line1\\n{{hello:r}}\\nline2'" [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 210 | "{}", "Failed to parse t'line1\\n{{hello:r}}\\nline2'" [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libcst` (lib test) due to 6 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c75ba11bd7ac1700431bb780573dabb2a1f8f44f977e3232599e3c9f95b5aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c75ba11bd7ac1700431bb780573dabb2a1f8f44f977e3232599e3c9f95b5aeb", kill_on_drop: false }` [INFO] [stdout] 2c75ba11bd7ac1700431bb780573dabb2a1f8f44f977e3232599e3c9f95b5aeb