[INFO] fetching crate sfn-ng 0.2.29... [INFO] testing sfn-ng-0.2.29 against 1.91.0 for beta-1.92-2 [INFO] extracting crate sfn-ng 0.2.29 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate sfn-ng 0.2.29 [INFO] finished tweaking crates.io crate sfn-ng 0.2.29 [INFO] tweaked toml for crates.io crate sfn-ng 0.2.29 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sfn-ng 0.2.29 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sfn-ng 0.2.29 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniz_oxide v0.7.3 [INFO] [stderr] Downloaded shlex v0.1.1 [INFO] [stderr] Downloaded tokio-macros v2.3.0 [INFO] [stderr] Downloaded string_morph v0.1.0 [INFO] [stderr] Downloaded whoami v1.5.1 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded const_fn v0.4.10 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] [stderr] Downloaded errno v0.3.9 [INFO] [stderr] Downloaded json-structural-diff v0.1.0 [INFO] [stderr] Downloaded rusoto_credential v0.46.0 [INFO] [stderr] Downloaded rusoto_sts v0.46.0 [INFO] [stderr] Downloaded rusoto_signature v0.46.0 [INFO] [stderr] Downloaded os_str_bytes v2.4.0 [INFO] [stderr] Downloaded rusoto_core v0.46.0 [INFO] [stderr] Downloaded serde_derive v1.0.203 [INFO] [stderr] Downloaded native-tls v0.2.12 [INFO] [stderr] Downloaded either v1.12.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.60 [INFO] [stderr] Downloaded serde_urlencoded v0.6.1 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.85 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded serde v1.0.203 [INFO] [stderr] Downloaded rusoto_cloudformation v0.46.0 [INFO] [stderr] Downloaded backtrace v0.3.72 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded clap v3.0.0-beta.2 [INFO] [stderr] Downloaded rusoto_s3 v0.46.0 [INFO] [stderr] Downloaded chrono v0.4.38 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded object v0.35.0 [INFO] [stderr] Downloaded syn v2.0.66 [INFO] [stderr] Downloaded rusoto_ec2 v0.46.0 [INFO] [stderr] Downloaded tokio v1.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df7bf5e02d41109d6dddbd0f7c323edf575021796b3e3e1035494d985699d3f0 [INFO] running `Command { std: "docker" "start" "-a" "df7bf5e02d41109d6dddbd0f7c323edf575021796b3e3e1035494d985699d3f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df7bf5e02d41109d6dddbd0f7c323edf575021796b3e3e1035494d985699d3f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7bf5e02d41109d6dddbd0f7c323edf575021796b3e3e1035494d985699d3f0", kill_on_drop: false }` [INFO] [stdout] df7bf5e02d41109d6dddbd0f7c323edf575021796b3e3e1035494d985699d3f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab08be1d31af834ea97e3113219da81a8158adddc1852fa21b896cfcaac202e [INFO] running `Command { std: "docker" "start" "-a" "dab08be1d31af834ea97e3113219da81a8158adddc1852fa21b896cfcaac202e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rusoto_core v0.46.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling string_morph v0.1.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling json-structural-diff v0.1.0 [INFO] [stderr] Compiling rusoto_credential v0.46.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling rusoto_signature v0.46.0 [INFO] [stderr] Compiling rusoto_ec2 v0.46.0 [INFO] [stderr] Compiling rusoto_sts v0.46.0 [INFO] [stderr] Compiling rusoto_s3 v0.46.0 [INFO] [stderr] Compiling rusoto_cloudformation v0.46.0 [INFO] [stderr] Compiling sfn-ng v0.2.29 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transition` [INFO] [stdout] --> src/main.rs:4:525 [INFO] [stdout] | [INFO] [stdout] 4 | ...gurationRequest, BucketLifecycleConfiguration, LifecycleRule, Transition, AbortIncompleteMultipartUpload, NoncurrentVersionExpiration,... [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 variable: `e` [INFO] [stdout] --> src/main.rs:1471:9 [INFO] [stdout] | [INFO] [stdout] 1471 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let event_time = Utc.datetime_from_str(&line.timestamp.as_ref(), "%Y-%m-%dT%H:%M:%S%.3fZ").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/main.rs:195:39 [INFO] [stdout] | [INFO] [stdout] 195 | last_printed = DateTime::from(Utc.datetime_from_str(events.iter().max_by_key(|event| event.timestamp.clone()).unwrap().timestamp.as_r... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template_body` is never read [INFO] [stdout] --> src/main.rs:772:3 [INFO] [stdout] | [INFO] [stdout] 767 | struct StackInput { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 772 | template_body: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackInput` 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: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:487:178 [INFO] [stdout] | [INFO] [stdout] 487 | ...())).into_group_map().iter().sorted_by_key(|(status, _)| status.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1799:47 [INFO] [stdout] | [INFO] [stdout] 1799 | print!("Do you want to execute {}?: ", msg.clone()); [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] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "dab08be1d31af834ea97e3113219da81a8158adddc1852fa21b896cfcaac202e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab08be1d31af834ea97e3113219da81a8158adddc1852fa21b896cfcaac202e", kill_on_drop: false }` [INFO] [stdout] dab08be1d31af834ea97e3113219da81a8158adddc1852fa21b896cfcaac202e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c60ea013c0c5d0651beb3818e05fcec8ea074e8ae38fd8d9e53fa5081da36e5c [INFO] running `Command { std: "docker" "start" "-a" "c60ea013c0c5d0651beb3818e05fcec8ea074e8ae38fd8d9e53fa5081da36e5c", kill_on_drop: false }` [INFO] [stderr] Compiling sfn-ng v0.2.29 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transition` [INFO] [stdout] --> src/main.rs:4:525 [INFO] [stdout] | [INFO] [stdout] 4 | ...gurationRequest, BucketLifecycleConfiguration, LifecycleRule, Transition, AbortIncompleteMultipartUpload, NoncurrentVersionExpiration,... [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 variable: `e` [INFO] [stdout] --> src/main.rs:1471:9 [INFO] [stdout] | [INFO] [stdout] 1471 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | let event_time = Utc.datetime_from_str(&line.timestamp.as_ref(), "%Y-%m-%dT%H:%M:%S%.3fZ").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/main.rs:195:39 [INFO] [stdout] | [INFO] [stdout] 195 | last_printed = DateTime::from(Utc.datetime_from_str(events.iter().max_by_key(|event| event.timestamp.clone()).unwrap().timestamp.as_r... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template_body` is never read [INFO] [stdout] --> src/main.rs:772:3 [INFO] [stdout] | [INFO] [stdout] 767 | struct StackInput { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 772 | template_body: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackInput` 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: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stdout] --> src/main.rs:487:178 [INFO] [stdout] | [INFO] [stdout] 487 | ...())).into_group_map().iter().sorted_by_key(|(status, _)| status.clone()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:1799:47 [INFO] [stdout] | [INFO] [stdout] 1799 | print!("Do you want to execute {}?: ", msg.clone()); [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] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "c60ea013c0c5d0651beb3818e05fcec8ea074e8ae38fd8d9e53fa5081da36e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c60ea013c0c5d0651beb3818e05fcec8ea074e8ae38fd8d9e53fa5081da36e5c", kill_on_drop: false }` [INFO] [stdout] c60ea013c0c5d0651beb3818e05fcec8ea074e8ae38fd8d9e53fa5081da36e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59ee6057637a302e041c7d2f08b464fc849216d44d62a23ba6ad557ffbeed5e1 [INFO] running `Command { std: "docker" "start" "-a" "59ee6057637a302e041c7d2f08b464fc849216d44d62a23ba6ad557ffbeed5e1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Transition` [INFO] [stderr] --> src/main.rs:4:525 [INFO] [stderr] | [INFO] [stderr] 4 | ...gurationRequest, BucketLifecycleConfiguration, LifecycleRule, Transition, AbortIncompleteMultipartUpload, NoncurrentVersionExpiration,... [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:1471:9 [INFO] [stderr] | [INFO] [stderr] 1471 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stderr] --> src/utils.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | let event_time = Utc.datetime_from_str(&line.timestamp.as_ref(), "%Y-%m-%dT%H:%M:%S%.3fZ").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stderr] --> src/main.rs:195:39 [INFO] [stderr] | [INFO] [stderr] 195 | last_printed = DateTime::from(Utc.datetime_from_str(events.iter().max_by_key(|event| event.timestamp.clone()).unwrap().timestamp.as_r... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `template_body` is never read [INFO] [stderr] --> src/main.rs:772:3 [INFO] [stderr] | [INFO] [stderr] 767 | struct StackInput { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 772 | template_body: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StackInput` has a derived impl for the trait `Clone`, 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: using `.clone()` on a double reference, which returns `&std::string::String` instead of cloning the inner type [INFO] [stderr] --> src/main.rs:487:178 [INFO] [stderr] | [INFO] [stderr] 487 | ...())).into_group_map().iter().sorted_by_key(|(status, _)| status.clone()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:1799:47 [INFO] [stderr] | [INFO] [stderr] 1799 | print!("Do you want to execute {}?: ", msg.clone()); [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] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `sfn-ng` (bin "sfn-ng" test) generated 7 warnings (run `cargo fix --bin "sfn-ng" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sfn_ng-2247af21cf7d9107) [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" "59ee6057637a302e041c7d2f08b464fc849216d44d62a23ba6ad557ffbeed5e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ee6057637a302e041c7d2f08b464fc849216d44d62a23ba6ad557ffbeed5e1", kill_on_drop: false }` [INFO] [stdout] 59ee6057637a302e041c7d2f08b464fc849216d44d62a23ba6ad557ffbeed5e1