[INFO] cloning repository https://github.com/spamwax/apr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spamwax/apr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspamwax%2Fapr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspamwax%2Fapr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f49128c517b88f5584eaec83f828beb29df1c91 [INFO] checking spamwax/apr 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%2Fspamwax%2Fapr" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/spamwax/apr [INFO] finished tweaking git repo https://github.com/spamwax/apr [INFO] tweaked toml for git repo https://github.com/spamwax/apr written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spamwax/apr 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/spamwax/apr 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9908b1a9978f143cf84a60c14d1c210ca9636c2c066ccdce3dd86f5f585c9881 [INFO] running `Command { std: "docker" "start" "-a" "9908b1a9978f143cf84a60c14d1c210ca9636c2c066ccdce3dd86f5f585c9881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9908b1a9978f143cf84a60c14d1c210ca9636c2c066ccdce3dd86f5f585c9881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9908b1a9978f143cf84a60c14d1c210ca9636c2c066ccdce3dd86f5f585c9881", kill_on_drop: false }` [INFO] [stdout] 9908b1a9978f143cf84a60c14d1c210ca9636c2c066ccdce3dd86f5f585c9881 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a34857e169c97c79c39de231cc709c78655c84b49f7770770842f4bb6ee12919 [INFO] running `Command { std: "docker" "start" "-a" "a34857e169c97c79c39de231cc709c78655c84b49f7770770842f4bb6ee12919", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rmp v0.8.10 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rmp-serde v0.15.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking alfred v4.0.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking alfred-rs v0.6.0 [INFO] [stderr] Checking rusty-pin v0.5.5 (https://github.com/spamwax/rusty-pin?branch=master#26109a38) [INFO] [stderr] Checking alfred-pinboard-rs v0.16.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `debug_level` is never read [INFO] [stdout] --> src/cli.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | #[structopt(name = "debug", default_value = "0", long = "debug")] [INFO] [stdout] 6 | pub debug_level: i8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AlfredError` [INFO] [stdout] 83 | pub enum AlfredError { [INFO] [stdout] | ----------- `AlfredError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_AlfredError` [INFO] [stdout] 83 | pub enum AlfredError { [INFO] [stdout] | ----------- `AlfredError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Set API authorization token. [INFO] [stdout] 25 | | /// (Obtain it from your Pinboard account's setting page). [INFO] [stdout] 26 | | #[structopt(name = "auth", long = "authorization", short = "a")] [INFO] [stdout] 27 | | auth_token: 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/cli.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// Optional query word used to narrow the output list. [INFO] [stdout] 83 | | /// Only works with --tags option! To narrow down bookmarks, use `search` sub-command [INFO] [stdout] 84 | | query: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Space-delimited list of tags for the url [INFO] [stdout] 93 | | #[structopt(name = "tags", long = "tags", short = "t")] [INFO] [stdout] 94 | | tags: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / /// Extra description note for the url [INFO] [stdout] 96 | | #[structopt(name = "description", long = "description", short = "d")] [INFO] [stdout] 97 | | description: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / /// Url/bookmark to be deleted. [INFO] [stdout] 110 | | /// If not given, the bookmark for active browser's tab will be returned. [INFO] [stdout] 111 | | #[structopt(name = "url", long = "url", short = "u")] [INFO] [stdout] 112 | | url: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | / /// Tag to be deleted. [INFO] [stdout] 114 | | #[structopt(name = "tag", long = "tag", short = "t")] [INFO] [stdout] 115 | | tag: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / /// tags for renaming (tag1 -> tag2) [INFO] [stdout] 121 | | #[structopt(name = "tags", min_values = 2, max_values = 2)] [INFO] [stdout] 122 | | tags: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | / /// Query string to look for in all fields of bookmarks, unless modified by -t, -T or -u [INFO] [stdout] 160 | | /// flags (space delimited). Bookmarks that have all of query strings will be [INFO] [stdout] 161 | | /// returned. [INFO] [stdout] 162 | | #[structopt(name = "query", required = true)] [INFO] [stdout] 163 | | query: Vec, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/mod.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_upgrade_item(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn get_upgrade_item(&self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alfred-pinboard-rs` (bin "alfred-pinboard-rs") due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `debug_level` is never read [INFO] [stdout] --> src/cli.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 5 | #[structopt(name = "debug", default_value = "0", long = "debug")] [INFO] [stdout] 6 | pub debug_level: i8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_AlfredError` [INFO] [stdout] 83 | pub enum AlfredError { [INFO] [stdout] | ----------- `AlfredError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_AlfredError` [INFO] [stdout] 83 | pub enum AlfredError { [INFO] [stdout] | ----------- `AlfredError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Set API authorization token. [INFO] [stdout] 25 | | /// (Obtain it from your Pinboard account's setting page). [INFO] [stdout] 26 | | #[structopt(name = "auth", long = "authorization", short = "a")] [INFO] [stdout] 27 | | auth_token: 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/cli.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / /// Optional query word used to narrow the output list. [INFO] [stdout] 83 | | /// Only works with --tags option! To narrow down bookmarks, use `search` sub-command [INFO] [stdout] 84 | | query: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / /// Space-delimited list of tags for the url [INFO] [stdout] 93 | | #[structopt(name = "tags", long = "tags", short = "t")] [INFO] [stdout] 94 | | tags: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | / /// Extra description note for the url [INFO] [stdout] 96 | | #[structopt(name = "description", long = "description", short = "d")] [INFO] [stdout] 97 | | description: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | / /// Url/bookmark to be deleted. [INFO] [stdout] 110 | | /// If not given, the bookmark for active browser's tab will be returned. [INFO] [stdout] 111 | | #[structopt(name = "url", long = "url", short = "u")] [INFO] [stdout] 112 | | url: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | / /// Tag to be deleted. [INFO] [stdout] 114 | | #[structopt(name = "tag", long = "tag", short = "t")] [INFO] [stdout] 115 | | tag: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / /// tags for renaming (tag1 -> tag2) [INFO] [stdout] 121 | | #[structopt(name = "tags", min_values = 2, max_values = 2)] [INFO] [stdout] 122 | | tags: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | / /// Query string to look for in all fields of bookmarks, unless modified by -t, -T or -u [INFO] [stdout] 160 | | /// flags (space delimited). Bookmarks that have all of query strings will be [INFO] [stdout] 161 | | /// returned. [INFO] [stdout] 162 | | #[structopt(name = "query", required = true)] [INFO] [stdout] 163 | | query: Vec, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/commands/mod.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_upgrade_item(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | fn get_upgrade_item(&self) -> Result>, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alfred-pinboard-rs` (bin "alfred-pinboard-rs" test) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a34857e169c97c79c39de231cc709c78655c84b49f7770770842f4bb6ee12919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34857e169c97c79c39de231cc709c78655c84b49f7770770842f4bb6ee12919", kill_on_drop: false }` [INFO] [stdout] a34857e169c97c79c39de231cc709c78655c84b49f7770770842f4bb6ee12919