[INFO] cloning repository https://github.com/naftulikay/aws-sso-env [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naftulikay/aws-sso-env" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaftulikay%2Faws-sso-env", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaftulikay%2Faws-sso-env'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 308754301f21746c82817d005e17cd7e886936ac [INFO] checking naftulikay/aws-sso-env against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaftulikay%2Faws-sso-env" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/naftulikay/aws-sso-env [INFO] finished tweaking git repo https://github.com/naftulikay/aws-sso-env [INFO] tweaked toml for git repo https://github.com/naftulikay/aws-sso-env written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/naftulikay/aws-sso-env on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/naftulikay/aws-sso-env 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd753170a42b522b4df2ecd6631bed746f220b510fec9e21abda0661927acb49 [INFO] running `Command { std: "docker" "start" "-a" "cd753170a42b522b4df2ecd6631bed746f220b510fec9e21abda0661927acb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd753170a42b522b4df2ecd6631bed746f220b510fec9e21abda0661927acb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd753170a42b522b4df2ecd6631bed746f220b510fec9e21abda0661927acb49", kill_on_drop: false }` [INFO] [stdout] cd753170a42b522b4df2ecd6631bed746f220b510fec9e21abda0661927acb49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78e0170fcdf3477456fedf95fabea7873c5b2e5aac69738da15a92bb764f31fe [INFO] running `Command { std: "docker" "start" "-a" "78e0170fcdf3477456fedf95fabea7873c5b2e5aac69738da15a92bb764f31fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking bytes-utils v0.1.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking aws-smithy-types v0.32.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling openssl-src v111.16.0+1.1.1l [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aws-types v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking urlencoding v1.3.3 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking aws-smithy-query v0.32.0 [INFO] [stderr] Checking aws-smithy-json v0.32.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking aws-smithy-xml v0.32.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking aws-sigv4 v0.2.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking serde v1.0.131 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking aws-smithy-async v0.32.0 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking aws-smithy-http v0.32.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking aws-smithy-http-tower v0.32.0 [INFO] [stderr] Checking aws-sig-auth v0.2.0 [INFO] [stderr] Checking aws-http v0.2.0 [INFO] [stderr] Checking aws-smithy-client v0.32.0 [INFO] [stderr] Checking aws-endpoint v0.2.0 [INFO] [stderr] Checking aws-hyper v0.2.0 [INFO] [stderr] Checking aws-sdk-sts v0.2.0 [INFO] [stderr] Checking aws-sdk-sso v0.2.0 [INFO] [stderr] Checking aws-config v0.2.0 [INFO] [stderr] Checking aws-sso-env v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// The name of an SSO profile in your local AWS configuration file(s). [INFO] [stdout] 25 | | pub profile_name: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CachedSsoToken` [INFO] [stdout] 42 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 43 | pub struct CachedSsoToken { [INFO] [stdout] | -------------- `CachedSsoToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SsoCredentials` [INFO] [stdout] 51 | pub struct SsoCredentials { [INFO] [stdout] | -------------- `SsoCredentials` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-sso-env` (bin "aws-sso-env") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// The name of an SSO profile in your local AWS configuration file(s). [INFO] [stdout] 25 | | pub profile_name: String, [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CachedSsoToken` [INFO] [stdout] 42 | #[serde(rename_all = "camelCase")] [INFO] [stdout] 43 | pub struct CachedSsoToken { [INFO] [stdout] | -------------- `CachedSsoToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SsoCredentials` [INFO] [stdout] 51 | pub struct SsoCredentials { [INFO] [stdout] | -------------- `SsoCredentials` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-sso-env` (bin "aws-sso-env" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78e0170fcdf3477456fedf95fabea7873c5b2e5aac69738da15a92bb764f31fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e0170fcdf3477456fedf95fabea7873c5b2e5aac69738da15a92bb764f31fe", kill_on_drop: false }` [INFO] [stdout] 78e0170fcdf3477456fedf95fabea7873c5b2e5aac69738da15a92bb764f31fe