[INFO] cloning repository https://github.com/sammhicks/file-sharer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sammhicks/file-sharer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammhicks%2Ffile-sharer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammhicks%2Ffile-sharer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a57e950a26d60752b2865a77021a1b8f3debd6ad [INFO] checking sammhicks/file-sharer 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%2Fsammhicks%2Ffile-sharer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sammhicks/file-sharer [INFO] finished tweaking git repo https://github.com/sammhicks/file-sharer [INFO] tweaked toml for git repo https://github.com/sammhicks/file-sharer written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sammhicks/file-sharer 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/sammhicks/file-sharer 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4e0aab2abf8a12fef819aedaeb038e3a3fbf49b260d429ae555be40e0977197b [INFO] running `Command { std: "docker" "start" "-a" "4e0aab2abf8a12fef819aedaeb038e3a3fbf49b260d429ae555be40e0977197b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e0aab2abf8a12fef819aedaeb038e3a3fbf49b260d429ae555be40e0977197b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0aab2abf8a12fef819aedaeb038e3a3fbf49b260d429ae555be40e0977197b", kill_on_drop: false }` [INFO] [stdout] 4e0aab2abf8a12fef819aedaeb038e3a3fbf49b260d429ae555be40e0977197b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b1a52df8671bd89d12606b161b91691dfb7266e4ce9722397f29ccd97e7f6b22 [INFO] running `Command { std: "docker" "start" "-a" "b1a52df8671bd89d12606b161b91691dfb7266e4ce9722397f29ccd97e7f6b22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [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] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking tracing-core v0.1.25 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking quote v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling axum-macros v0.2.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.33 [INFO] [stderr] Checking clap v3.1.9 [INFO] [stderr] Checking axum-core v0.2.1 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking axum v0.5.1 [INFO] [stderr] Checking askama_shared v0.12.2 [INFO] [stderr] Checking axum-extra v0.2.1 [INFO] [stderr] Compiling askama_derive v0.11.2 [INFO] [stderr] Checking askama v0.11.1 [INFO] [stderr] Checking askama_axum v0.1.0 [INFO] [stderr] Checking file-sharer v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[clap(long, default_value = ".")] [INFO] [stdout] 16 | | /// Where to store files [INFO] [stdout] 17 | | files: 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/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[clap(long, default_value = "shares")] [INFO] [stdout] 20 | | /// Where to store shares (relative to files) [INFO] [stdout] 21 | | shares: PathBuf, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap(long, default_value = "uploads")] [INFO] [stdout] 24 | | /// Where to store uploads (relative to files) [INFO] [stdout] 25 | | uploads: PathBuf, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap(long, default_value = "http://localhost:8080")] [INFO] [stdout] 40 | | /// The URL of the root of the user app. Note that the app assumes [INFO] [stdout] 41 | | /// that it is served at "/" at the point the request reaches the app, [INFO] [stdout] 42 | | /// i.e. if behind a reverse proxy, you must rewrite URLs [INFO] [stdout] 43 | | user_url_prefix: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:365:43 [INFO] [stdout] | [INFO] [stdout] 365 | fn get_token_config(&self, token: &Token) -> TokenConfig { [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] 365 | fn get_token_config(&self, token: &Token) -> TokenConfig<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | fn get_share_config(&self, token: &Token) -> TokenConfig { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 372 | fn get_share_config(&self, token: &Token) -> TokenConfig<'_, ShareConfig> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_upload_config(&self, token: &Token) -> TokenConfig { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 376 | fn get_upload_config(&self, token: &Token) -> TokenConfig<'_, UploadConfig> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn display(&self) -> std::path::Display { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn display(&self) -> std::path::Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file-sharer` (bin "file-sharer") due to 4 previous errors; 4 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / #[clap(long, default_value = ".")] [INFO] [stdout] 16 | | /// Where to store files [INFO] [stdout] 17 | | files: PathBuf, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / #[clap(long, default_value = "shares")] [INFO] [stdout] 20 | | /// Where to store shares (relative to files) [INFO] [stdout] 21 | | shares: PathBuf, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / #[clap(long, default_value = "uploads")] [INFO] [stdout] 24 | | /// Where to store uploads (relative to files) [INFO] [stdout] 25 | | uploads: PathBuf, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap(long, default_value = "http://localhost:8080")] [INFO] [stdout] 40 | | /// The URL of the root of the user app. Note that the app assumes [INFO] [stdout] 41 | | /// that it is served at "/" at the point the request reaches the app, [INFO] [stdout] 42 | | /// i.e. if behind a reverse proxy, you must rewrite URLs [INFO] [stdout] 43 | | user_url_prefix: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:365:43 [INFO] [stdout] | [INFO] [stdout] 365 | fn get_token_config(&self, token: &Token) -> TokenConfig { [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] 365 | fn get_token_config(&self, token: &Token) -> TokenConfig<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | fn get_share_config(&self, token: &Token) -> TokenConfig { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 372 | fn get_share_config(&self, token: &Token) -> TokenConfig<'_, ShareConfig> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_upload_config(&self, token: &Token) -> TokenConfig { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 376 | fn get_upload_config(&self, token: &Token) -> TokenConfig<'_, UploadConfig> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controller.rs:384:20 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn display(&self) -> std::path::Display { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 384 | pub fn display(&self) -> std::path::Display<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file-sharer` (bin "file-sharer" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1a52df8671bd89d12606b161b91691dfb7266e4ce9722397f29ccd97e7f6b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a52df8671bd89d12606b161b91691dfb7266e4ce9722397f29ccd97e7f6b22", kill_on_drop: false }` [INFO] [stdout] b1a52df8671bd89d12606b161b91691dfb7266e4ce9722397f29ccd97e7f6b22