[INFO] fetching crate sfn-ng 0.2.29... [INFO] building sfn-ng-0.2.29 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate sfn-ng 0.2.29 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sfn-ng 0.2.29 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusoto_credential v0.46.0 [INFO] [stderr] Downloaded rusoto_signature v0.46.0 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded string_morph v0.1.0 [INFO] [stderr] Downloaded json-structural-diff v0.1.0 [INFO] [stderr] Downloaded const_fn v0.4.10 [INFO] [stderr] Downloaded unicode-width v0.1.12 [INFO] [stderr] Downloaded rusoto_sts v0.46.0 [INFO] [stderr] Downloaded whoami v1.5.1 [INFO] [stderr] Downloaded rusoto_cloudformation v0.46.0 [INFO] [stderr] Downloaded rusoto_core v0.46.0 [INFO] [stderr] Downloaded rusoto_s3 v0.46.0 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b767377dc27303c48944da4fc627ba1001539a0254da5ff008d80e3097143394 [INFO] running `Command { std: "docker" "start" "-a" "b767377dc27303c48944da4fc627ba1001539a0254da5ff008d80e3097143394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b767377dc27303c48944da4fc627ba1001539a0254da5ff008d80e3097143394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b767377dc27303c48944da4fc627ba1001539a0254da5ff008d80e3097143394", kill_on_drop: false }` [INFO] [stdout] b767377dc27303c48944da4fc627ba1001539a0254da5ff008d80e3097143394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdbbf7aa48e0e4a6998a532779adc512aebf87f08fa0f72e8c5110dc7eb7c770 [INFO] running `Command { std: "docker" "start" "-a" "fdbbf7aa48e0e4a6998a532779adc512aebf87f08fa0f72e8c5110dc7eb7c770", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [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 subtle v2.4.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rusoto_core v0.46.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling string_morph v0.1.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [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 regex v1.10.4 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tokio-native-tls v0.3.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_sts v0.46.0 [INFO] [stderr] Compiling rusoto_ec2 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 23s [INFO] running `Command { std: "docker" "inspect" "fdbbf7aa48e0e4a6998a532779adc512aebf87f08fa0f72e8c5110dc7eb7c770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdbbf7aa48e0e4a6998a532779adc512aebf87f08fa0f72e8c5110dc7eb7c770", kill_on_drop: false }` [INFO] [stdout] fdbbf7aa48e0e4a6998a532779adc512aebf87f08fa0f72e8c5110dc7eb7c770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e54623251510da1fd2903ede93ae8a1823d55c4c8b8d55fe84271527308a407a [INFO] running `Command { std: "docker" "start" "-a" "e54623251510da1fd2903ede93ae8a1823d55c4c8b8d55fe84271527308a407a", 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 2.72s [INFO] running `Command { std: "docker" "inspect" "e54623251510da1fd2903ede93ae8a1823d55c4c8b8d55fe84271527308a407a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e54623251510da1fd2903ede93ae8a1823d55c4c8b8d55fe84271527308a407a", kill_on_drop: false }` [INFO] [stdout] e54623251510da1fd2903ede93ae8a1823d55c4c8b8d55fe84271527308a407a