[INFO] cloning repository https://github.com/ArdusJax/utu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArdusJax/utu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArdusJax%2Futu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArdusJax%2Futu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db27cdb4a9b10f0f1fa06240800f8f7d8f557eef [INFO] testing ArdusJax/utu/db27cdb4a9b10f0f1fa06240800f8f7d8f557eef against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArdusJax%2Futu" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArdusJax/utu on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArdusJax/utu [INFO] finished tweaking git repo https://github.com/ArdusJax/utu [INFO] tweaked toml for git repo https://github.com/ArdusJax/utu written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ArdusJax/utu 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_info v3.0.6 [INFO] [stderr] Downloaded serde_with_macros v1.4.2 [INFO] [stderr] Downloaded mongodb v1.2.2 [INFO] [stderr] Downloaded gumdrop v0.8.0 [INFO] [stderr] Downloaded fastrand v1.4.1 [INFO] [stderr] Downloaded gumdrop_derive v0.8.0 [INFO] [stderr] Downloaded serde_with v1.9.4 [INFO] [stderr] Downloaded typed-builder v0.4.1 [INFO] [stderr] Downloaded bson v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8728e83afe8ac93f3f3f7052df4b4f1c17580c85e6c4611be9231004a08ce0ac [INFO] running `Command { std: "docker" "start" "-a" "8728e83afe8ac93f3f3f7052df4b4f1c17580c85e6c4611be9231004a08ce0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8728e83afe8ac93f3f3f7052df4b4f1c17580c85e6c4611be9231004a08ce0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8728e83afe8ac93f3f3f7052df4b4f1c17580c85e6c4611be9231004a08ce0ac", kill_on_drop: false }` [INFO] [stdout] 8728e83afe8ac93f3f3f7052df4b4f1c17580c85e6c4611be9231004a08ce0ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c99f818ce41a2cfb74f914f45558ff3ddc5290e78b72159c105c843e68df8e52 [INFO] running `Command { std: "docker" "start" "-a" "c99f818ce41a2cfb74f914f45558ff3ddc5290e78b72159c105c843e68df8e52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling darling_core v0.13.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling darling_macro v0.13.0 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling v0.13.0 [INFO] [stderr] Compiling serde_with_macros v1.4.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling os_info v3.0.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling gumdrop v0.8.0 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling serde_with v1.9.4 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling mongodb v1.2.2 [INFO] [stderr] Compiling utu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WatchOpts` [INFO] [stdout] --> src/main.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::commands::{Command, UtuOptions, WatchOpts}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `algorithm` are never read [INFO] [stdout] --> src/attestation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Binary { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | algorithm: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log`, `config`, and `artifacts` are never read [INFO] [stdout] --> src/attestation.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Build { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | log: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | config: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | artifacts: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Build` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `algorithm` are never read [INFO] [stdout] --> src/attestation.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | algorithm: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` 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 `build_id` is never read [INFO] [stdout] --> src/attestation.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Deployment { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | build_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deployment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Build`, `Binary`, `Package`, and `Deployment` are never constructed [INFO] [stdout] --> src/attestation.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Kind { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 39 | Build(Build), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Binary(Binary), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Package(Package), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | Deployment(Deployment), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attestation_type` is never used [INFO] [stdout] --> src/attestation.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn attestation_type(kind: Kind) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `public_key_id`, and `content` are never read [INFO] [stdout] --> src/commands.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Attestation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | public_key_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attestation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_attestation` is never used [INFO] [stdout] --> src/commands.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_attestation(kind: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_meta_data_step` is never used [INFO] [stdout] --> src/commands.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn print_meta_data_step(kind: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7m 13s [INFO] running `Command { std: "docker" "inspect" "c99f818ce41a2cfb74f914f45558ff3ddc5290e78b72159c105c843e68df8e52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99f818ce41a2cfb74f914f45558ff3ddc5290e78b72159c105c843e68df8e52", kill_on_drop: false }` [INFO] [stdout] c99f818ce41a2cfb74f914f45558ff3ddc5290e78b72159c105c843e68df8e52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8eae0e384f04146bb85d441cbc7db67589db8ce3e659382131e34881d3fb1f2 [INFO] running `Command { std: "docker" "start" "-a" "d8eae0e384f04146bb85d441cbc7db67589db8ce3e659382131e34881d3fb1f2", kill_on_drop: false }` [INFO] [stderr] Compiling utu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WatchOpts` [INFO] [stdout] --> src/main.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::commands::{Command, UtuOptions, WatchOpts}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `algorithm` are never read [INFO] [stdout] --> src/attestation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Binary { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | algorithm: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log`, `config`, and `artifacts` are never read [INFO] [stdout] --> src/attestation.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Build { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | log: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | config: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | artifacts: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Build` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hash` and `algorithm` are never read [INFO] [stdout] --> src/attestation.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | algorithm: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Package` 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 `build_id` is never read [INFO] [stdout] --> src/attestation.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Deployment { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | build_id: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deployment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Build`, `Binary`, `Package`, and `Deployment` are never constructed [INFO] [stdout] --> src/attestation.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Kind { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 39 | Build(Build), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 40 | Binary(Binary), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Package(Package), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 42 | Deployment(Deployment), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attestation_type` is never used [INFO] [stdout] --> src/attestation.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn attestation_type(kind: Kind) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `public_key_id`, and `content` are never read [INFO] [stdout] --> src/commands.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Attestation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 40 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | public_key_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 42 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attestation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_attestation` is never used [INFO] [stdout] --> src/commands.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_attestation(kind: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_meta_data_step` is never used [INFO] [stdout] --> src/commands.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn print_meta_data_step(kind: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "d8eae0e384f04146bb85d441cbc7db67589db8ce3e659382131e34881d3fb1f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8eae0e384f04146bb85d441cbc7db67589db8ce3e659382131e34881d3fb1f2", kill_on_drop: false }` [INFO] [stdout] d8eae0e384f04146bb85d441cbc7db67589db8ce3e659382131e34881d3fb1f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f458c32a026297ed1b9be60825f43ac8d73fe7a0b591f8abc917132d4a0313f8 [INFO] running `Command { std: "docker" "start" "-a" "f458c32a026297ed1b9be60825f43ac8d73fe7a0b591f8abc917132d4a0313f8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `WatchOpts` [INFO] [stderr] --> src/main.rs:7:44 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::commands::{Command, UtuOptions, WatchOpts}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `hash` and `algorithm` are never read [INFO] [stderr] --> src/attestation.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Binary { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | hash: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | algorithm: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Binary` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `log`, `config`, and `artifacts` are never read [INFO] [stderr] --> src/attestation.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Build { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | log: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 18 | config: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 19 | artifacts: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Build` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `hash` and `algorithm` are never read [INFO] [stderr] --> src/attestation.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Package { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 26 | hash: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 27 | algorithm: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Package` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `build_id` is never read [INFO] [stderr] --> src/attestation.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct Deployment { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 34 | build_id: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Deployment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Build`, `Binary`, `Package`, and `Deployment` are never constructed [INFO] [stderr] --> src/attestation.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 38 | pub enum Kind { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 39 | Build(Build), [INFO] [stderr] | ^^^^^ [INFO] [stderr] 40 | Binary(Binary), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 41 | Package(Package), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 42 | Deployment(Deployment), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `attestation_type` is never used [INFO] [stderr] --> src/attestation.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn attestation_type(kind: Kind) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `kind`, `public_key_id`, and `content` are never read [INFO] [stderr] --> src/commands.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 39 | struct Attestation { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 40 | kind: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 41 | public_key_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 42 | content: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Attestation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `print_attestation` is never used [INFO] [stderr] --> src/commands.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | fn print_attestation(kind: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `print_meta_data_step` is never used [INFO] [stderr] --> src/commands.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | fn print_meta_data_step(kind: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `utu` (bin "utu" test) generated 10 warnings (run `cargo fix --bin "utu" --tests` to apply 1 suggestion) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/utu-16b281e6118f3e6a) [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" "f458c32a026297ed1b9be60825f43ac8d73fe7a0b591f8abc917132d4a0313f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f458c32a026297ed1b9be60825f43ac8d73fe7a0b591f8abc917132d4a0313f8", kill_on_drop: false }` [INFO] [stdout] f458c32a026297ed1b9be60825f43ac8d73fe7a0b591f8abc917132d4a0313f8