[INFO] cloning repository https://github.com/pls-shareit/cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pls-shareit/cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpls-shareit%2Fcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpls-shareit%2Fcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a6dca8fc69948411a464f355017aae8b5339301 [INFO] checking pls-shareit/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%2Fpls-shareit%2Fcli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pls-shareit/cli [INFO] finished tweaking git repo https://github.com/pls-shareit/cli [INFO] tweaked toml for git repo https://github.com/pls-shareit/cli written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pls-shareit/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/pls-shareit/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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 996e1853be541918ffaacefa8aad7eecac90c6ff7b8aaa533918068b470a692f [INFO] running `Command { std: "docker" "start" "-a" "996e1853be541918ffaacefa8aad7eecac90c6ff7b8aaa533918068b470a692f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "996e1853be541918ffaacefa8aad7eecac90c6ff7b8aaa533918068b470a692f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "996e1853be541918ffaacefa8aad7eecac90c6ff7b8aaa533918068b470a692f", kill_on_drop: false }` [INFO] [stdout] 996e1853be541918ffaacefa8aad7eecac90c6ff7b8aaa533918068b470a692f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ed9db1c17758d4a4f3855af34128f6617f52a8b9cf1b5c97a34b4f0672ed377f [INFO] running `Command { std: "docker" "start" "-a" "ed9db1c17758d4a4f3855af34128f6617f52a8b9cf1b5c97a34b4f0672ed377f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking memmap2 v0.2.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling copypasta-ext v0.3.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Checking which v4.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking clap v3.0.0-beta.4 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking x11-clipboard v0.5.2 [INFO] [stderr] Checking smithay-client-toolkit v0.14.0 [INFO] [stderr] Checking smithay-clipboard v0.6.4 [INFO] [stderr] Checking copypasta v0.7.1 [INFO] [stderr] Checking shareit-cli v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / #[clap(short, long, groups = &["action", "create_action"], help_heading = ACTION_HEADING)] [INFO] [stdout] 25 | | /// Create a shortlink. [INFO] [stdout] 26 | | /// [INFO] [stdout] 27 | | /// If this option is provided without arguments, the link will be read [INFO] [stdout] ... | [INFO] [stdout] 30 | | /// shorten. [INFO] [stdout] 31 | | pub link: 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/args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / #[clap(short, long, groups = &["action", "create_action"], value_name = "FILE", help_heading = ACTION_HEADING)] [INFO] [stdout] 34 | | /// Create a paste. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// If this option is provided without arguments, the paste will be read [INFO] [stdout] ... | [INFO] [stdout] 39 | | /// read the paste from. [INFO] [stdout] 40 | | pub paste: Option>, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / #[clap(short, long, groups = &["action", "create_action"], help_heading = ACTION_HEADING)] [INFO] [stdout] 43 | | /// Upload a file. [INFO] [stdout] 44 | | /// [INFO] [stdout] 45 | | /// If this option is provided without arguments, the file will be read [INFO] [stdout] ... | [INFO] [stdout] 48 | | /// to upload. [INFO] [stdout] 49 | | pub file: Option>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / #[clap(long, group = "action", help_heading = ACTION_HEADING, value_name = "OPTIONS", max_values = 2)] [INFO] [stdout] 52 | | /// Set or view a config option. [INFO] [stdout] 53 | | /// [INFO] [stdout] 54 | | /// If this option is provided without arguments, the available config [INFO] [stdout] ... | [INFO] [stdout] 58 | | /// value of the second. [INFO] [stdout] 59 | | pub config: Option>, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / #[clap(short, long, requires = "create_action", help_heading = OPTION_HEADING)] [INFO] [stdout] 62 | | /// A custom name for the share. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// If this is not passed, the server will generate a random name. The [INFO] [stdout] 65 | | /// name acts as the path part of the share URL. [INFO] [stdout] 66 | | pub name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / #[clap(short, long, name = "TYPE", requires = "file", help_heading = OPTION_HEADING)] [INFO] [stdout] 76 | | /// The MIME type of the uploaded file. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// This can only be used with the --file option. [INFO] [stdout] 79 | | pub mime_type: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / #[clap(short, long, name = "LANG", requires = "paste", help_heading = OPTION_HEADING)] [INFO] [stdout] 82 | | /// The language for syntax highlighting the paste. [INFO] [stdout] 83 | | /// [INFO] [stdout] 84 | | /// This can only be used with the --paste option. [INFO] [stdout] 85 | | pub syntax: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / #[clap(short, long, groups = &["action", "create_action"], help_heading = ACTION_HEADING)] [INFO] [stdout] 25 | | /// Create a shortlink. [INFO] [stdout] 26 | | /// [INFO] [stdout] 27 | | /// If this option is provided without arguments, the link will be read [INFO] [stdout] ... | [INFO] [stdout] 30 | | /// shorten. [INFO] [stdout] 31 | | pub link: 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/args.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / #[clap(short, long, groups = &["action", "create_action"], value_name = "FILE", help_heading = ACTION_HEADING)] [INFO] [stdout] 34 | | /// Create a paste. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// If this option is provided without arguments, the paste will be read [INFO] [stdout] ... | [INFO] [stdout] 39 | | /// read the paste from. [INFO] [stdout] 40 | | pub paste: Option>, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / #[clap(short, long, groups = &["action", "create_action"], help_heading = ACTION_HEADING)] [INFO] [stdout] 43 | | /// Upload a file. [INFO] [stdout] 44 | | /// [INFO] [stdout] 45 | | /// If this option is provided without arguments, the file will be read [INFO] [stdout] ... | [INFO] [stdout] 48 | | /// to upload. [INFO] [stdout] 49 | | pub file: Option>, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / #[clap(long, group = "action", help_heading = ACTION_HEADING, value_name = "OPTIONS", max_values = 2)] [INFO] [stdout] 52 | | /// Set or view a config option. [INFO] [stdout] 53 | | /// [INFO] [stdout] 54 | | /// If this option is provided without arguments, the available config [INFO] [stdout] ... | [INFO] [stdout] 58 | | /// value of the second. [INFO] [stdout] 59 | | pub config: Option>, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / #[clap(short, long, requires = "create_action", help_heading = OPTION_HEADING)] [INFO] [stdout] 62 | | /// A custom name for the share. [INFO] [stdout] 63 | | /// [INFO] [stdout] 64 | | /// If this is not passed, the server will generate a random name. The [INFO] [stdout] 65 | | /// name acts as the path part of the share URL. [INFO] [stdout] 66 | | pub name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / #[clap(short, long, name = "TYPE", requires = "file", help_heading = OPTION_HEADING)] [INFO] [stdout] 76 | | /// The MIME type of the uploaded file. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// This can only be used with the --file option. [INFO] [stdout] 79 | | pub mime_type: Option, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / #[clap(short, long, name = "LANG", requires = "paste", help_heading = OPTION_HEADING)] [INFO] [stdout] 82 | | /// The language for syntax highlighting the paste. [INFO] [stdout] 83 | | /// [INFO] [stdout] 84 | | /// This can only be used with the --paste option. [INFO] [stdout] 85 | | pub syntax: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shareit-cli` (bin "shareit") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shareit-cli` (bin "shareit" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ed9db1c17758d4a4f3855af34128f6617f52a8b9cf1b5c97a34b4f0672ed377f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed9db1c17758d4a4f3855af34128f6617f52a8b9cf1b5c97a34b4f0672ed377f", kill_on_drop: false }` [INFO] [stdout] ed9db1c17758d4a4f3855af34128f6617f52a8b9cf1b5c97a34b4f0672ed377f