[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] building bdbai/moodle-mediasite-proxy against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [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] validating manifest of git repo https://github.com/bdbai/moodle-mediasite-proxy on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb94df1928589a5b6a362212d7feef6eabded529c058aaa946259fba47f8108e [INFO] running `Command { std: "docker" "start" "-a" "bb94df1928589a5b6a362212d7feef6eabded529c058aaa946259fba47f8108e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb94df1928589a5b6a362212d7feef6eabded529c058aaa946259fba47f8108e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb94df1928589a5b6a362212d7feef6eabded529c058aaa946259fba47f8108e", kill_on_drop: false }` [INFO] [stdout] bb94df1928589a5b6a362212d7feef6eabded529c058aaa946259fba47f8108e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 406d68cf7a0f2576b1376f4a4763d1cbabf8b520b893ed1ceaf531bfec2da36e [INFO] running `Command { std: "docker" "start" "-a" "406d68cf7a0f2576b1376f4a4763d1cbabf8b520b893ed1ceaf531bfec2da36e", 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] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling 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] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-rustls v0.13.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling hyper v0.13.2 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling 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)]` 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, 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 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cache.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_proxy_url(url: &Uri) -> Option { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_proxy_url(url: &Uri) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.79s [INFO] running `Command { std: "docker" "inspect" "406d68cf7a0f2576b1376f4a4763d1cbabf8b520b893ed1ceaf531bfec2da36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406d68cf7a0f2576b1376f4a4763d1cbabf8b520b893ed1ceaf531bfec2da36e", kill_on_drop: false }` [INFO] [stdout] 406d68cf7a0f2576b1376f4a4763d1cbabf8b520b893ed1ceaf531bfec2da36e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65aabbba1b265feb4484fe0a1876850fcbd9e7b3d1d17a9c47cad6921f493690 [INFO] running `Command { std: "docker" "start" "-a" "65aabbba1b265feb4484fe0a1876850fcbd9e7b3d1d17a9c47cad6921f493690", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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, 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 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cache.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_proxy_url(url: &Uri) -> Option { [INFO] [stdout] | ^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_proxy_url(url: &Uri) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "65aabbba1b265feb4484fe0a1876850fcbd9e7b3d1d17a9c47cad6921f493690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65aabbba1b265feb4484fe0a1876850fcbd9e7b3d1d17a9c47cad6921f493690", kill_on_drop: false }` [INFO] [stdout] 65aabbba1b265feb4484fe0a1876850fcbd9e7b3d1d17a9c47cad6921f493690