[INFO] fetching crate stepflow 0.0.8... [INFO] testing stepflow-0.0.8 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate stepflow 0.0.8 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate stepflow 0.0.8 [INFO] finished tweaking crates.io crate stepflow 0.0.8 [INFO] tweaked toml for crates.io crate stepflow 0.0.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stepflow 0.0.8 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stepflow 0.0.8 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64ad3ad51129e99e1e3315e35ba4a0e16f801633c47db9b0c0190c243480277b [INFO] running `Command { std: "docker" "start" "-a" "64ad3ad51129e99e1e3315e35ba4a0e16f801633c47db9b0c0190c243480277b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64ad3ad51129e99e1e3315e35ba4a0e16f801633c47db9b0c0190c243480277b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ad3ad51129e99e1e3315e35ba4a0e16f801633c47db9b0c0190c243480277b", kill_on_drop: false }` [INFO] [stdout] 64ad3ad51129e99e1e3315e35ba4a0e16f801633c47db9b0c0190c243480277b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36ca2763566c8d6447feacb7e6b9b3b5cc37121eac1e97fa5f970ac03b0d31a [INFO] running `Command { std: "docker" "start" "-a" "a36ca2763566c8d6447feacb7e6b9b3b5cc37121eac1e97fa5f970ac03b0d31a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.67 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling stepflow-base v0.0.5 [INFO] [stderr] Compiling stepflow-data v0.0.5 [INFO] [stderr] Compiling stepflow-step v0.0.5 [INFO] [stderr] Compiling stepflow-action v0.0.6 [INFO] [stderr] Compiling stepflow-session v0.0.7 [INFO] [stderr] Compiling stepflow v0.0.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.80s [INFO] running `Command { std: "docker" "inspect" "a36ca2763566c8d6447feacb7e6b9b3b5cc37121eac1e97fa5f970ac03b0d31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36ca2763566c8d6447feacb7e6b9b3b5cc37121eac1e97fa5f970ac03b0d31a", kill_on_drop: false }` [INFO] [stdout] a36ca2763566c8d6447feacb7e6b9b3b5cc37121eac1e97fa5f970ac03b0d31a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ac5b81930cb1156735c665c037a0f655564128a4f2fdb88e29085a968baec0f [INFO] running `Command { std: "docker" "start" "-a" "8ac5b81930cb1156735c665c037a0f655564128a4f2fdb88e29085a968baec0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.17 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling tera v1.7.0 [INFO] [stderr] Compiling warp v0.2.5 [INFO] [stderr] Compiling stepflow v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/warp/main.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | struct WarpError(Error); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `WarpError` has a derived impl for the trait `Debug`, 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: field `0` is never read [INFO] [stdout] --> examples/warp/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | struct SerdeJsonError(serde_json::Error); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SerdeJsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/warp/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | struct TeraError(tera::Error); [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TeraError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> examples/warp/main.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | for step_id in step_ids.get(1..) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 52 - for step_id in step_ids.get(1..) { [INFO] [stdout] 52 + while let Some(step_id) = step_ids.get(1..) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 52 - for step_id in step_ids.get(1..) { [INFO] [stdout] 52 + if let Some(step_id) = step_ids.get(1..) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> examples/warp/main.rs:63:90 [INFO] [stdout] | [INFO] [stdout] 63 | let email_validated_var = session.var_store().get_by_name("email_validated").unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 63 - let email_validated_var = session.var_store().get_by_name("email_validated").unwrap().clone(); [INFO] [stdout] 63 + let email_validated_var = session.var_store().get_by_name("email_validated").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> examples/warp/main.rs:67:94 [INFO] [stdout] | [INFO] [stdout] 67 | let success_validated_var = session.var_store().get_by_name("success_validated").unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 67 - let success_validated_var = session.var_store().get_by_name("success_validated").unwrap().clone(); [INFO] [stdout] 67 + let success_validated_var = session.var_store().get_by_name("success_validated").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> examples/warp/main.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | Some((name.clone(), *val_invalid)) [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "8ac5b81930cb1156735c665c037a0f655564128a4f2fdb88e29085a968baec0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac5b81930cb1156735c665c037a0f655564128a4f2fdb88e29085a968baec0f", kill_on_drop: false }` [INFO] [stdout] 8ac5b81930cb1156735c665c037a0f655564128a4f2fdb88e29085a968baec0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f78ddba24143181f4a4871c45c46ac2514b68b13cc364f3284be51e62eb5fd18 [INFO] running `Command { std: "docker" "start" "-a" "f78ddba24143181f4a4871c45c46ac2514b68b13cc364f3284be51e62eb5fd18", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/warp/main.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | struct WarpError(Error); [INFO] [stderr] | --------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `WarpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/warp/main.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | struct SerdeJsonError(serde_json::Error); [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `SerdeJsonError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> examples/warp/main.rs:33:18 [INFO] [stderr] | [INFO] [stderr] 33 | struct TeraError(tera::Error); [INFO] [stderr] | --------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `TeraError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> examples/warp/main.rs:52:20 [INFO] [stderr] | [INFO] [stderr] 52 | for step_id in step_ids.get(1..) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 52 - for step_id in step_ids.get(1..) { [INFO] [stderr] 52 + while let Some(step_id) = step_ids.get(1..) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 52 - for step_id in step_ids.get(1..) { [INFO] [stderr] 52 + if let Some(step_id) = step_ids.get(1..) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> examples/warp/main.rs:63:90 [INFO] [stderr] | [INFO] [stderr] 63 | let email_validated_var = session.var_store().get_by_name("email_validated").unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 63 - let email_validated_var = session.var_store().get_by_name("email_validated").unwrap().clone(); [INFO] [stderr] 63 + let email_validated_var = session.var_store().get_by_name("email_validated").unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> examples/warp/main.rs:67:94 [INFO] [stderr] | [INFO] [stderr] 67 | let success_validated_var = session.var_store().get_by_name("success_validated").unwrap().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Box` does not implement `Clone`, so calling `clone` on `&Box` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 67 - let success_validated_var = session.var_store().get_by_name("success_validated").unwrap().clone(); [INFO] [stderr] 67 + let success_validated_var = session.var_store().get_by_name("success_validated").unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> examples/warp/main.rs:201:31 [INFO] [stderr] | [INFO] [stderr] 201 | Some((name.clone(), *val_invalid)) [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `stepflow` (example "warp") generated 7 warnings (run `cargo fix --example "warp" -p stepflow` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stepflow-5b9e73b7681e7ac2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests stepflow [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f78ddba24143181f4a4871c45c46ac2514b68b13cc364f3284be51e62eb5fd18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f78ddba24143181f4a4871c45c46ac2514b68b13cc364f3284be51e62eb5fd18", kill_on_drop: false }` [INFO] [stdout] f78ddba24143181f4a4871c45c46ac2514b68b13cc364f3284be51e62eb5fd18