[INFO] fetching crate wrangler 1.21.0... [INFO] checking wrangler-1.21.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate wrangler 1.21.0 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate wrangler 1.21.0 [INFO] finished tweaking crates.io crate wrangler 1.21.0 [INFO] tweaked toml for crates.io crate wrangler 1.21.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wrangler 1.21.0 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 crates.io crate wrangler 1.21.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] f70bba777cd22d11d12e955f0770ec3d36da83c111eecca7a86252ce70d1ac00 [INFO] running `Command { std: "docker" "start" "-a" "f70bba777cd22d11d12e955f0770ec3d36da83c111eecca7a86252ce70d1ac00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f70bba777cd22d11d12e955f0770ec3d36da83c111eecca7a86252ce70d1ac00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70bba777cd22d11d12e955f0770ec3d36da83c111eecca7a86252ce70d1ac00", kill_on_drop: false }` [INFO] [stdout] f70bba777cd22d11d12e955f0770ec3d36da83c111eecca7a86252ce70d1ac00 [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] e084559f8193740776e686b1ae9d85a56c9491f5062902ebf43808559cfbaef8 [INFO] running `Command { std: "docker" "start" "-a" "e084559f8193740776e686b1ae9d85a56c9491f5062902ebf43808559cfbaef8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling openssl-src v111.22.0+1.1.1q [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking object v0.28.3 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling curl-sys v0.4.53+curl-7.82.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling curl v0.4.43 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking combine v4.6.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking is_executable v0.1.2 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking twox-hash v1.6.2 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking text_io v0.1.10 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking os-version v0.2.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking billboard v0.1.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking tokio-retry v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde_path_to_error v0.1.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_with v1.12.1 [INFO] [stderr] Checking serde_qs v0.4.6 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking parity-ws v0.11.1 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking toml_edit v0.2.1 [INFO] [stderr] Checking colored_json v2.1.0 [INFO] [stderr] Checking chrome-devtools-rs v0.0.0-alpha.3 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking binary-install v0.0.3-alpha.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking oauth2 v4.1.0 [INFO] [stderr] Checking cloudflare v0.9.1 [INFO] [stderr] Checking wrangler v1.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `KvConfig` and `SiteConfig` [INFO] [stdout] --> src/settings/toml/tests/../../../../tests/fixtures/mod.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | pub use wrangler_toml::{EnvConfig, KvConfig, SiteConfig, Triggers, WranglerToml, TEST_ENV_NAME}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/settings/toml/manifest.rs:649:17 [INFO] [stdout] | [INFO] [stdout] 649 | let user = GlobalUser::new()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/settings/toml/manifest.rs:649:24 [INFO] [stdout] | [INFO] [stdout] 649 | let user = GlobalUser::new()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/settings/toml/manifest.rs:650:19 [INFO] [stdout] | [INFO] [stdout] 650 | match fetch_accounts(&user)?.as_slice() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `single` [INFO] [stdout] --> src/settings/toml/manifest.rs:656:18 [INFO] [stdout] | [INFO] [stdout] 656 | [single] => Ok(single.id.clone()), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_single` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / /// Path to configuration file. [INFO] [stdout] 69 | | #[structopt(long, short = "c", default_value = "wrangler.toml", global = true)] [INFO] [stdout] 70 | | pub config: PathBuf, [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/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / /// Environment to perform a command on. [INFO] [stdout] 73 | | #[structopt(name = "env", long, short = "e", global = true)] [INFO] [stdout] 74 | | pub environment: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// The name of your worker! [INFO] [stdout] 109 | | #[structopt(index = 1, default_value = "worker")] [INFO] [stdout] 110 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | / /// A link to a GitHub template! Defaults to https://github.com/cloudflare/worker-template [INFO] [stdout] 113 | | #[structopt(index = 2)] [INFO] [stdout] 114 | | template: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / /// The name of your worker! [INFO] [stdout] 128 | | #[structopt(index = 1)] [INFO] [stdout] 129 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / /// Body string to post to your preview worker request [INFO] [stdout] 154 | | #[structopt(index = 2)] [INFO] [stdout] 155 | | body: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | / /// Host to forward requests to, defaults to the zone of project or to [INFO] [stdout] 169 | | /// tutorial.cloudflareworkers.com if unauthenticated. [INFO] [stdout] 170 | | #[structopt(long, short = "h")] [INFO] [stdout] 171 | | host: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / #[structopt(possible_value = "json")] [INFO] [stdout] 208 | | output: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | / /// The subdomain on workers.dev you'd like to reserve [INFO] [stdout] 230 | | #[structopt(name = "name", index = 1)] [INFO] [stdout] 231 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / /// Name of the worker to tail [INFO] [stdout] 242 | | #[structopt(index = 1)] [INFO] [stdout] 243 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | / /// Filter by invocation status [INFO] [stdout] 258 | | #[structopt(long, possible_values = &["ok", "error", "canceled"])] [INFO] [stdout] 259 | | status: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | / /// Filter by HTTP method [INFO] [stdout] 262 | | #[structopt(long)] [INFO] [stdout] 263 | | method: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | / /// Filter by HTTP header [INFO] [stdout] 266 | | #[structopt(long)] [INFO] [stdout] 267 | | header: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | / /// Filter by a text match in console.log messages [INFO] [stdout] 274 | | #[structopt(long)] [INFO] [stdout] 275 | | search: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | / /// Allows to choose set of scopes [INFO] [stdout] 294 | | #[structopt(name = "scopes", long, possible_values = login::SCOPES_LIST.as_ref())] [INFO] [stdout] 295 | | scopes: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | / /// Allow durable objects to be created from a class in your script [INFO] [stdout] 311 | | #[structopt(name = "new-class", long, number_of_values = 1)] [INFO] [stdout] 312 | | new_class: Vec, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Delete all durable objects associated with a class in your script [INFO] [stdout] 315 | | #[structopt(name = "delete-class", long, number_of_values = 1)] [INFO] [stdout] 316 | | delete_class: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / /// Rename a durable object class [INFO] [stdout] 319 | | #[structopt(name = "rename-class", long, number_of_values = 2, value_names(&["from class", "to class"]))] [INFO] [stdout] 320 | | rename_class: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / /// Transfer all durable objects associated with a class in another script to a class in [INFO] [stdout] 323 | | /// this script [INFO] [stdout] 324 | | #[structopt(name = "transfer-class", long, number_of_values = 3, value_names(&["from script", "from class", "to class"]))] [INFO] [stdout] 325 | | transfer_class: Vec, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | / /// Specify the existing migration tag for the script. [INFO] [stdout] 328 | | #[structopt(name = "old-tag", long)] [INFO] [stdout] 329 | | old_tag: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/mod.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | / /// Specify the new migration tag for the script [INFO] [stdout] 332 | | #[structopt(name = "new-tag", long)] [INFO] [stdout] 333 | | new_tag: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The binding for your new namespace [INFO] [stdout] 18 | | #[structopt(index = 1)] [INFO] [stdout] 19 | | binding: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /// The binding of the namespace this action applies to [INFO] [stdout] 41 | | #[structopt(long, short = "b", group = "namespace-specifier")] [INFO] [stdout] 42 | | pub binding: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// The ID of the namespace this action applies to [INFO] [stdout] 49 | | #[structopt( [INFO] [stdout] 50 | | name = "namespace-id", [INFO] [stdout] 51 | | long, [INFO] [stdout] ... | [INFO] [stdout] 54 | | )] [INFO] [stdout] 55 | | pub namespace_id: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// Key to write the value to [INFO] [stdout] 67 | | #[structopt(name = "key", index = 1)] [INFO] [stdout] 68 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / /// Value for key [INFO] [stdout] 71 | | #[structopt(name = "value", index = 2)] [INFO] [stdout] 72 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / /// Arbitrary JSON to associate with a key-value pair. Must be no more than 1024 bytes. [INFO] [stdout] 84 | | #[structopt(name = "metadata", long, short = "m")] [INFO] [stdout] 85 | | metadata: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / /// Key whose value to get [INFO] [stdout] 97 | | #[structopt(name = "key", index = 1)] [INFO] [stdout] 98 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / /// Key whose value to get [INFO] [stdout] 106 | | #[structopt(name = "key", index = 1)] [INFO] [stdout] 107 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / /// The prefix for filtering listed keys [INFO] [stdout] 119 | | #[structopt(name = "prefix", long, short = "p")] [INFO] [stdout] 120 | | prefix: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / /// The JSON file of key-value pairs to upload, in form [{\"key\":..., \"value\":...}\"...] [INFO] [stdout] 133 | | #[structopt(index = 1)] [INFO] [stdout] 134 | | path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/kv.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / /// The JSON file of key-value pairs to upload, in form [\"\", ...] [INFO] [stdout] 142 | | #[structopt(index = 1)] [INFO] [stdout] 143 | | path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/r2.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The name for your new bucket [INFO] [stdout] 23 | | #[structopt(index = 1)] [INFO] [stdout] 24 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/r2.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / /// The name of the bucket to delete [INFO] [stdout] 29 | | /// Note: bucket must be empty [INFO] [stdout] 30 | | #[structopt(index = 1)] [INFO] [stdout] 31 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/route.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The ID associated with the route you want to delete (find using `wrangler route list`) [INFO] [stdout] 16 | | #[structopt(index = 1)] [INFO] [stdout] 17 | | route_id: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/secret.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / #[structopt(long, short = "n", index = 1)] [INFO] [stdout] 13 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/secret.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / #[structopt(long, short = "n", index = 1)] [INFO] [stdout] 18 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/commands/dev/socket.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 89 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 90 | | devtools_http_request( [INFO] [stdout] 91 | | req, [INFO] [stdout] ... | [INFO] [stdout] 98 | | })) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/commands/dev/socket.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 90 | | devtools_http_request( [INFO] [stdout] 91 | | req, [INFO] [stdout] 92 | | socket_url.clone(), [INFO] [stdout] ... | [INFO] [stdout] 98 | | })) [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kv/key.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn request_params(&self) -> ListNamespaceKeys { [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] 42 | fn request_params(&self) -> ListNamespaceKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/form/mod.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let bindgen_js: String = fs::read_to_string(bindgen_js_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/upload/form/mod.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let bindgen_js: String = fs::read_to_string(bindgen_js_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/form/mod.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let worker_js: String = fs::read_to_string("./worker/worker.js")?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/upload/form/mod.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let worker_js: String = fs::read_to_string("./worker/worker.js")?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/krate.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let cargo_toml: String = fs::read_to_string(manifest_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/upload/krate.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let cargo_toml: String = fs::read_to_string(manifest_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/package.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let package_json: String = fs::read_to_string(manifest_path.clone())?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/upload/package.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let package_json: String = fs::read_to_string(manifest_path.clone())?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wrangler` (lib) due to 47 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / /// Path to configuration file. [INFO] [stdout] 69 | | #[structopt(long, short = "c", default_value = "wrangler.toml", global = true)] [INFO] [stdout] 70 | | pub config: PathBuf, [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: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / /// Environment to perform a command on. [INFO] [stdout] 73 | | #[structopt(name = "env", long, short = "e", global = true)] [INFO] [stdout] 74 | | pub environment: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | / /// The name of your worker! [INFO] [stdout] 109 | | #[structopt(index = 1, default_value = "worker")] [INFO] [stdout] 110 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | / /// A link to a GitHub template! Defaults to https://github.com/cloudflare/worker-template [INFO] [stdout] 113 | | #[structopt(index = 2)] [INFO] [stdout] 114 | | template: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | / /// The name of your worker! [INFO] [stdout] 128 | | #[structopt(index = 1)] [INFO] [stdout] 129 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | / /// Body string to post to your preview worker request [INFO] [stdout] 154 | | #[structopt(index = 2)] [INFO] [stdout] 155 | | body: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | / /// Host to forward requests to, defaults to the zone of project or to [INFO] [stdout] 169 | | /// tutorial.cloudflareworkers.com if unauthenticated. [INFO] [stdout] 170 | | #[structopt(long, short = "h")] [INFO] [stdout] 171 | | host: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / #[structopt(possible_value = "json")] [INFO] [stdout] 208 | | output: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | / /// The subdomain on workers.dev you'd like to reserve [INFO] [stdout] 230 | | #[structopt(name = "name", index = 1)] [INFO] [stdout] 231 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / /// Name of the worker to tail [INFO] [stdout] 242 | | #[structopt(index = 1)] [INFO] [stdout] 243 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | / /// Filter by invocation status [INFO] [stdout] 258 | | #[structopt(long, possible_values = &["ok", "error", "canceled"])] [INFO] [stdout] 259 | | status: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | / /// Filter by HTTP method [INFO] [stdout] 262 | | #[structopt(long)] [INFO] [stdout] 263 | | method: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | / /// Filter by HTTP header [INFO] [stdout] 266 | | #[structopt(long)] [INFO] [stdout] 267 | | header: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | / /// Filter by a text match in console.log messages [INFO] [stdout] 274 | | #[structopt(long)] [INFO] [stdout] 275 | | search: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | / /// Allows to choose set of scopes [INFO] [stdout] 294 | | #[structopt(name = "scopes", long, possible_values = login::SCOPES_LIST.as_ref())] [INFO] [stdout] 295 | | scopes: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | / /// Allow durable objects to be created from a class in your script [INFO] [stdout] 311 | | #[structopt(name = "new-class", long, number_of_values = 1)] [INFO] [stdout] 312 | | new_class: Vec, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | / /// Delete all durable objects associated with a class in your script [INFO] [stdout] 315 | | #[structopt(name = "delete-class", long, number_of_values = 1)] [INFO] [stdout] 316 | | delete_class: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | / /// Rename a durable object class [INFO] [stdout] 319 | | #[structopt(name = "rename-class", long, number_of_values = 2, value_names(&["from class", "to class"]))] [INFO] [stdout] 320 | | rename_class: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / /// Transfer all durable objects associated with a class in another script to a class in [INFO] [stdout] 323 | | /// this script [INFO] [stdout] 324 | | #[structopt(name = "transfer-class", long, number_of_values = 3, value_names(&["from script", "from class", "to class"]))] [INFO] [stdout] 325 | | transfer_class: Vec, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | / /// Specify the existing migration tag for the script. [INFO] [stdout] 328 | | #[structopt(name = "old-tag", long)] [INFO] [stdout] 329 | | old_tag: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/mod.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | / /// Specify the new migration tag for the script [INFO] [stdout] 332 | | #[structopt(name = "new-tag", long)] [INFO] [stdout] 333 | | new_tag: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The binding for your new namespace [INFO] [stdout] 18 | | #[structopt(index = 1)] [INFO] [stdout] 19 | | binding: String, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /// The binding of the namespace this action applies to [INFO] [stdout] 41 | | #[structopt(long, short = "b", group = "namespace-specifier")] [INFO] [stdout] 42 | | pub binding: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// The ID of the namespace this action applies to [INFO] [stdout] 49 | | #[structopt( [INFO] [stdout] 50 | | name = "namespace-id", [INFO] [stdout] 51 | | long, [INFO] [stdout] ... | [INFO] [stdout] 54 | | )] [INFO] [stdout] 55 | | pub namespace_id: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// Key to write the value to [INFO] [stdout] 67 | | #[structopt(name = "key", index = 1)] [INFO] [stdout] 68 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / /// Value for key [INFO] [stdout] 71 | | #[structopt(name = "value", index = 2)] [INFO] [stdout] 72 | | value: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | / /// Arbitrary JSON to associate with a key-value pair. Must be no more than 1024 bytes. [INFO] [stdout] 84 | | #[structopt(name = "metadata", long, short = "m")] [INFO] [stdout] 85 | | metadata: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / /// Key whose value to get [INFO] [stdout] 97 | | #[structopt(name = "key", index = 1)] [INFO] [stdout] 98 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | / /// Key whose value to get [INFO] [stdout] 106 | | #[structopt(name = "key", index = 1)] [INFO] [stdout] 107 | | key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / /// The prefix for filtering listed keys [INFO] [stdout] 119 | | #[structopt(name = "prefix", long, short = "p")] [INFO] [stdout] 120 | | prefix: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / /// The JSON file of key-value pairs to upload, in form [{\"key\":..., \"value\":...}\"...] [INFO] [stdout] 133 | | #[structopt(index = 1)] [INFO] [stdout] 134 | | path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/kv.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / /// The JSON file of key-value pairs to upload, in form [\"\", ...] [INFO] [stdout] 142 | | #[structopt(index = 1)] [INFO] [stdout] 143 | | path: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/r2.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The name for your new bucket [INFO] [stdout] 23 | | #[structopt(index = 1)] [INFO] [stdout] 24 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/r2.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / /// The name of the bucket to delete [INFO] [stdout] 29 | | /// Note: bucket must be empty [INFO] [stdout] 30 | | #[structopt(index = 1)] [INFO] [stdout] 31 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/route.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The ID associated with the route you want to delete (find using `wrangler route list`) [INFO] [stdout] 16 | | #[structopt(index = 1)] [INFO] [stdout] 17 | | route_id: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/secret.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | / #[structopt(long, short = "n", index = 1)] [INFO] [stdout] 13 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cli/secret.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | / #[structopt(long, short = "n", index = 1)] [INFO] [stdout] 18 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/commands/dev/socket.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | async move { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 89 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 90 | | devtools_http_request( [INFO] [stdout] 91 | | req, [INFO] [stdout] ... | [INFO] [stdout] 98 | | })) [INFO] [stdout] 99 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/commands/dev/socket.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 90 | | devtools_http_request( [INFO] [stdout] 91 | | req, [INFO] [stdout] 92 | | socket_url.clone(), [INFO] [stdout] ... | [INFO] [stdout] 98 | | })) [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/kv/key.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn request_params(&self) -> ListNamespaceKeys { [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] 42 | fn request_params(&self) -> ListNamespaceKeys<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/form/mod.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let bindgen_js: String = fs::read_to_string(bindgen_js_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/upload/form/mod.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | let bindgen_js: String = fs::read_to_string(bindgen_js_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/form/mod.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let worker_js: String = fs::read_to_string("./worker/worker.js")?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/upload/form/mod.rs:227:29 [INFO] [stdout] | [INFO] [stdout] 227 | let worker_js: String = fs::read_to_string("./worker/worker.js")?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/krate.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let cargo_toml: String = fs::read_to_string(manifest_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/upload/krate.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | let cargo_toml: String = fs::read_to_string(manifest_path)?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/upload/package.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let package_json: String = fs::read_to_string(manifest_path.clone())?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/upload/package.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let package_json: String = fs::read_to_string(manifest_path.clone())?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wrangler` (lib test) due to 47 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e084559f8193740776e686b1ae9d85a56c9491f5062902ebf43808559cfbaef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e084559f8193740776e686b1ae9d85a56c9491f5062902ebf43808559cfbaef8", kill_on_drop: false }` [INFO] [stdout] e084559f8193740776e686b1ae9d85a56c9491f5062902ebf43808559cfbaef8