[INFO] fetching crate swimos_model 0.1.1... [INFO] checking swimos_model-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate swimos_model 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate swimos_model 0.1.1 [INFO] finished tweaking crates.io crate swimos_model 0.1.1 [INFO] tweaked toml for crates.io crate swimos_model 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swimos_model 0.1.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5b2a03bc7563c5bf0fa501dca74711724f772e38c59787649cb08fed86223607 [INFO] running `Command { std: "docker" "start" "-a" "5b2a03bc7563c5bf0fa501dca74711724f772e38c59787649cb08fed86223607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b2a03bc7563c5bf0fa501dca74711724f772e38c59787649cb08fed86223607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2a03bc7563c5bf0fa501dca74711724f772e38c59787649cb08fed86223607", kill_on_drop: false }` [INFO] [stdout] 5b2a03bc7563c5bf0fa501dca74711724f772e38c59787649cb08fed86223607 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6b4deec40049e93bd400a8ab440a1cddfb800019798d50e544ad8cdf7e0b46ae [INFO] running `Command { std: "docker" "start" "-a" "6b4deec40049e93bd400a8ab440a1cddfb800019798d50e544ad8cdf7e0b46ae", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking swimos_num v0.1.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking swimos_format v0.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking swimos_encoding v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking swimos_route v0.1.1 [INFO] [stderr] Checking swimos_utilities v0.1.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking swimos_model v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/literal.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn escape_if_needed(text: &str) -> Cow { [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] 37 | pub fn escape_if_needed(text: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/mod.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 270 | | Ok(From::from(s)) [INFO] [stdout] 271 | | } [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: Result [INFO] [stdout] --> src/text/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | Ok(From::from(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swimos_model` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/literal.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn escape_if_needed(text: &str) -> Cow { [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] 37 | pub fn escape_if_needed(text: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/mod.rs:269:53 [INFO] [stdout] | [INFO] [stdout] 269 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 270 | | Ok(From::from(s)) [INFO] [stdout] 271 | | } [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: Result [INFO] [stdout] --> src/text/mod.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | Ok(From::from(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | let small = Text::from_str(SMALL); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:314:16 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(small, Ok(SMALL.into())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:314:23 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(small, Ok(SMALL.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(small, Ok(SMALL.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(small, Ok(SMALL.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(small, Ok(SMALL.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(small, Ok(SMALL.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:316:22 [INFO] [stdout] | [INFO] [stdout] 316 | let borderline = Text::from_str(make_borderline().as_str()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:317:16 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(borderline, Ok(make_borderline().into())); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:317:28 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(borderline, Ok(make_borderline().into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(borderline, Ok(make_borderline().into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(borderline, Ok(make_borderline().into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(borderline, Ok(make_borderline().into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | assert_eq!(borderline, Ok(make_borderline().into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:319:17 [INFO] [stdout] | [INFO] [stdout] 319 | let large = Text::from_str(LARGE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:320:16 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(large, Ok(LARGE.into())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(large, Ok(LARGE.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(large, Ok(LARGE.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(large, Ok(LARGE.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(large, Ok(LARGE.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/text/tests.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | assert_eq!(large, Ok(LARGE.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swimos_model` (lib test) due to 23 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6b4deec40049e93bd400a8ab440a1cddfb800019798d50e544ad8cdf7e0b46ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4deec40049e93bd400a8ab440a1cddfb800019798d50e544ad8cdf7e0b46ae", kill_on_drop: false }` [INFO] [stdout] 6b4deec40049e93bd400a8ab440a1cddfb800019798d50e544ad8cdf7e0b46ae