[INFO] cloning repository https://github.com/bdbai/moodle-mediasite-proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bdbai/moodle-mediasite-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdbai%2Fmoodle-mediasite-proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdbai%2Fmoodle-mediasite-proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 795512074dd341462e6e9a047ebda27e7fd565e0
[INFO] checking bdbai/moodle-mediasite-proxy 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%2Fbdbai%2Fmoodle-mediasite-proxy" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bdbai/moodle-mediasite-proxy
[INFO] finished tweaking git repo https://github.com/bdbai/moodle-mediasite-proxy
[INFO] tweaked toml for git repo https://github.com/bdbai/moodle-mediasite-proxy written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bdbai/moodle-mediasite-proxy 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/bdbai/moodle-mediasite-proxy 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9762373d2976e11190d9393a1d8abf67575e3c7dbbdb949343f8a740a76cd7b2
[INFO] running `Command { std: "docker" "start" "-a" "9762373d2976e11190d9393a1d8abf67575e3c7dbbdb949343f8a740a76cd7b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9762373d2976e11190d9393a1d8abf67575e3c7dbbdb949343f8a740a76cd7b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9762373d2976e11190d9393a1d8abf67575e3c7dbbdb949343f8a740a76cd7b2", kill_on_drop: false }`
[INFO] [stdout] 9762373d2976e11190d9393a1d8abf67575e3c7dbbdb949343f8a740a76cd7b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 94c5be63c458ebc16888533481e17e778fe822d5a9339651df7171fb779628c9
[INFO] running `Command { std: "docker" "start" "-a" "94c5be63c458ebc16888533481e17e778fe822d5a9339651df7171fb779628c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling memchr v2.3.2
[INFO] [stderr]     Checking futures-core v0.3.4
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]     Checking futures-sink v0.3.4
[INFO] [stderr]     Checking arc-swap v0.4.4
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking pin-project-lite v0.1.4
[INFO] [stderr]     Checking futures-io v0.3.4
[INFO] [stderr]     Checking futures-task v0.3.4
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking smallvec v1.2.0
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking futures-channel v0.3.4
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking http v0.2.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling ring v0.16.11
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking sct v0.6.0
[INFO] [stderr]     Checking webpki v0.21.2
[INFO] [stderr]     Checking ct-logs v0.6.0
[INFO] [stderr]     Checking rustls v0.17.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling tokio-macros v0.2.4
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]     Checking rustls-native-certs v0.3.0
[INFO] [stderr]     Checking tokio v0.2.11
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking tokio-rustls v0.13.0
[INFO] [stderr]     Checking h2 v0.2.1
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking hyper v0.13.2
[INFO] [stderr]     Checking hyper-rustls v0.20.0
[INFO] [stderr]     Checking mediasite-proxy v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cache.rs:63:11
[INFO] [stdout]    |
[INFO] [stdout] 63 |     Audio(i32),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 63 -     Audio(i32),
[INFO] [stdout] 63 +     Audio(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cache.rs:65:11
[INFO] [stdout]    |
[INFO] [stdout] 65 |     Video(i32),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 65 -     Video(i32),
[INFO] [stdout] 65 +     Video(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `resource_id` is never read
[INFO] [stdout]   --> src/cache.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct RequestUrlInfo<'a> {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 69 |     resource_id: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `request_with_concurrent` is never used
[INFO] [stdout]   --> src/cache.rs:95:10
[INFO] [stdout]    |
[INFO] [stdout] 95 | async fn request_with_concurrent(url: &Uri, count: usize) -> Result<Response<Body>, String> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_with_retry` is never used
[INFO] [stdout]    --> src/cache.rs:152:10
[INFO] [stdout]     |
[INFO] [stdout] 152 | async fn try_with_retry<'a, T, E, F, U>(mut make_fut: U, max_retry: u32) -> Result<T, E>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<fn(hyper::Request<hyper::Body>) -> impl futures::Future<Output = Result<hyper::Response<hyper::Body>, String>> {handle_req}, hyper::Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:85:50
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let make_svc = make_service_fn(|_conn| async {
[INFO] [stdout]    |  __________________________________________________^
[INFO] [stdout] 86 | |         // service_fn converts our function into a `Service`
[INFO] [stdout] 87 | |         Ok::<_, Infallible>(service_fn(handle_req))
[INFO] [stdout] 88 | |     });
[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<hyper::service::util::ServiceFn<fn(hyper::Request<hyper::Body>) -> impl futures::Future<Output = Result<hyper::Response<hyper::Body>, String>> {handle_req}, hyper::Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         Ok::<_, Infallible>(service_fn(handle_req))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cache.rs:73:25
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn parse_proxy_url(url: &Uri) -> Option<RequestUrlInfo> {
[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] 73 | fn parse_proxy_url(url: &Uri) -> Option<RequestUrlInfo<'_>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cache.rs:63:11
[INFO] [stdout]    |
[INFO] [stdout] 63 |     Audio(i32),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 63 -     Audio(i32),
[INFO] [stdout] 63 +     Audio(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/cache.rs:65:11
[INFO] [stdout]    |
[INFO] [stdout] 65 |     Video(i32),
[INFO] [stdout]    |     ----- ^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 65 -     Video(i32),
[INFO] [stdout] 65 +     Video(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mediasite-proxy` (bin "mediasite-proxy") due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] warning: field `resource_id` is never read
[INFO] [stdout]   --> src/cache.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | struct RequestUrlInfo<'a> {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 69 |     resource_id: &'a str,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: function `request_with_concurrent` is never used
[INFO] [stdout]   --> src/cache.rs:95:10
[INFO] [stdout]    |
[INFO] [stdout] 95 | async fn request_with_concurrent(url: &Uri, count: usize) -> Result<Response<Body>, String> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_with_retry` is never used
[INFO] [stdout]    --> src/cache.rs:152:10
[INFO] [stdout]     |
[INFO] [stdout] 152 | async fn try_with_retry<'a, T, E, F, U>(mut make_fut: U, max_retry: u32) -> Result<T, E>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<fn(hyper::Request<hyper::Body>) -> impl futures::Future<Output = Result<hyper::Response<hyper::Body>, String>> {handle_req}, hyper::Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:85:50
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let make_svc = make_service_fn(|_conn| async {
[INFO] [stdout]    |  __________________________________________________^
[INFO] [stdout] 86 | |         // service_fn converts our function into a `Service`
[INFO] [stdout] 87 | |         Ok::<_, Infallible>(service_fn(handle_req))
[INFO] [stdout] 88 | |     });
[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<hyper::service::util::ServiceFn<fn(hyper::Request<hyper::Body>) -> impl futures::Future<Output = Result<hyper::Response<hyper::Body>, String>> {handle_req}, hyper::Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |         Ok::<_, Infallible>(service_fn(handle_req))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/cache.rs:73:25
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn parse_proxy_url(url: &Uri) -> Option<RequestUrlInfo> {
[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] 73 | fn parse_proxy_url(url: &Uri) -> Option<RequestUrlInfo<'_>> {
[INFO] [stdout]    |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mediasite-proxy` (bin "mediasite-proxy" test) due to 2 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "94c5be63c458ebc16888533481e17e778fe822d5a9339651df7171fb779628c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94c5be63c458ebc16888533481e17e778fe822d5a9339651df7171fb779628c9", kill_on_drop: false }`
[INFO] [stdout] 94c5be63c458ebc16888533481e17e778fe822d5a9339651df7171fb779628c9
