[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 a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbdbai%2Fmoodle-mediasite-proxy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bdbai/moodle-mediasite-proxy on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae
[INFO] running `Command { std: "docker" "start" "4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling memchr v2.3.2
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]     Checking futures-core v0.3.4
[INFO] [stderr]     Checking untrusted v0.7.0
[INFO] [stderr]     Checking bytes v0.5.4
[INFO] [stderr]     Checking spin v0.5.2
[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 futures-task v0.3.4
[INFO] [stderr]     Checking log v0.4.8
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]     Checking futures-io v0.3.4
[INFO] [stderr]     Checking pin-project-lite v0.1.4
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking base64 v0.11.0
[INFO] [stderr]     Checking futures-channel v0.3.4
[INFO] [stderr]     Checking smallvec v1.2.0
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking http v0.2.0
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]    Compiling ring v0.16.11
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking mio-uds v0.6.7
[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]     Checking http-body v0.3.1
[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 tokio v0.2.11
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]     Checking rustls-native-certs v0.3.0
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking futures-util v0.3.4
[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: useless conversion to the same type: `RequestError`
[INFO] [stdout]    --> src/cache.rs:198:27
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 ret = Err(e.into())
[INFO] [stdout]     |                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 ret = Err(e.into())
[INFO] [stdout] 198 +                 ret = Err(e)
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 ret = Err(e.into())
[INFO] [stdout] 198 +                 ret = Err(<RequestError as Into<_>>::into(e))
[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") due to 1 previous error; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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: useless conversion to the same type: `RequestError`
[INFO] [stdout]    --> src/cache.rs:198:27
[INFO] [stdout]     |
[INFO] [stdout] 198 |                 ret = Err(e.into())
[INFO] [stdout]     |                           ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 ret = Err(e.into())
[INFO] [stdout] 198 +                 ret = Err(e)
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 198 -                 ret = Err(e.into())
[INFO] [stdout] 198 +                 ret = Err(<RequestError as Into<_>>::into(e))
[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 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae", kill_on_drop: false }`
[INFO] [stdout] 4a8d551a2d0a4d7ce7e2e80c20e7cfa152b14f7038b71c2bb88d26fcec0cf2ae
