[INFO] cloning repository https://github.com/kilbd/ldap-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kilbd/ldap-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkilbd%2Fldap-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkilbd%2Fldap-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10a44a37fda9ab28cc7c654572493083fa8fa70c [INFO] checking kilbd/ldap-cli 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%2Fkilbd%2Fldap-cli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kilbd/ldap-cli [INFO] finished tweaking git repo https://github.com/kilbd/ldap-cli [INFO] tweaked toml for git repo https://github.com/kilbd/ldap-cli written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kilbd/ldap-cli 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/kilbd/ldap-cli 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 762db9ca5ffe08d469aab9074d60324e6042ac16cec09058e1b6cd2f22e50bdd [INFO] running `Command { std: "docker" "start" "-a" "762db9ca5ffe08d469aab9074d60324e6042ac16cec09058e1b6cd2f22e50bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "762db9ca5ffe08d469aab9074d60324e6042ac16cec09058e1b6cd2f22e50bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "762db9ca5ffe08d469aab9074d60324e6042ac16cec09058e1b6cd2f22e50bdd", kill_on_drop: false }` [INFO] [stdout] 762db9ca5ffe08d469aab9074d60324e6042ac16cec09058e1b6cd2f22e50bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 13722f9247a9fc13599ba80baeb08ae53fe885f44f6c7e9ad01181acb229dd1e [INFO] running `Command { std: "docker" "start" "-a" "13722f9247a9fc13599ba80baeb08ae53fe885f44f6c7e9ad01181acb229dd1e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling eyre v0.6.7 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking rustls-native-certs v0.6.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking owo-colors v3.3.0 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking rprompt v1.0.5 [INFO] [stderr] Checking lber v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking ldap3 v0.10.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rpassword v6.0.1 [INFO] [stderr] Checking ldap-cli v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Attributes to output in response (outputs all attributes if not specified) [INFO] [stdout] 12 | | #[clap(short, long)] [INFO] [stdout] 13 | | attrs: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// QUOTED string to use for LDAP filter in a search [INFO] [stdout] 15 | | filter: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dn: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Attribute to modify [INFO] [stdout] 32 | | #[clap(long, short)] [INFO] [stdout] 33 | | attr: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / /// New value for attribute (can be used multiple times for multi-value attributes) [INFO] [stdout] 35 | | #[clap(long, short)] [INFO] [stdout] 36 | | value: Vec, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// A name to use when referring to the new configuration [INFO] [stdout] 51 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / /// The name of a saved configuration, as seen in `ldap server list` [INFO] [stdout] 58 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / /// The name of a saved configuration, as seen in `ldap server list` [INFO] [stdout] 63 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ldap-cli` (bin "ldap" test) due to 8 previous errors [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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Attributes to output in response (outputs all attributes if not specified) [INFO] [stdout] 12 | | #[clap(short, long)] [INFO] [stdout] 13 | | attrs: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / /// QUOTED string to use for LDAP filter in a search [INFO] [stdout] 15 | | filter: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dn: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | / /// Attribute to modify [INFO] [stdout] 32 | | #[clap(long, short)] [INFO] [stdout] 33 | | attr: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / /// New value for attribute (can be used multiple times for multi-value attributes) [INFO] [stdout] 35 | | #[clap(long, short)] [INFO] [stdout] 36 | | value: Vec, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / /// A name to use when referring to the new configuration [INFO] [stdout] 51 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / /// The name of a saved configuration, as seen in `ldap server list` [INFO] [stdout] 58 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / /// The name of a saved configuration, as seen in `ldap server list` [INFO] [stdout] 63 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ldap-cli` (bin "ldap") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "13722f9247a9fc13599ba80baeb08ae53fe885f44f6c7e9ad01181acb229dd1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13722f9247a9fc13599ba80baeb08ae53fe885f44f6c7e9ad01181acb229dd1e", kill_on_drop: false }` [INFO] [stdout] 13722f9247a9fc13599ba80baeb08ae53fe885f44f6c7e9ad01181acb229dd1e