[INFO] cloning repository https://github.com/Sameperson/Hyperlapser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sameperson/Hyperlapser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSameperson%2FHyperlapser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSameperson%2FHyperlapser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfa44192502b0ce4ef61ae32cce2f0ed7ad51533 [INFO] testing Sameperson/Hyperlapser against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSameperson%2FHyperlapser" "/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/Sameperson/Hyperlapser [INFO] finished tweaking git repo https://github.com/Sameperson/Hyperlapser [INFO] tweaked toml for git repo https://github.com/Sameperson/Hyperlapser written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Sameperson/Hyperlapser on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Sameperson/Hyperlapser 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7949499a893697f033b747a2462d8fee749d8a511a1c2a047c4af9c0d4b4a3b8 [INFO] running `Command { std: "docker" "start" "-a" "7949499a893697f033b747a2462d8fee749d8a511a1c2a047c4af9c0d4b4a3b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7949499a893697f033b747a2462d8fee749d8a511a1c2a047c4af9c0d4b4a3b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7949499a893697f033b747a2462d8fee749d8a511a1c2a047c4af9c0d4b4a3b8", kill_on_drop: false }` [INFO] [stdout] 7949499a893697f033b747a2462d8fee749d8a511a1c2a047c4af9c0d4b4a3b8 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a9276892a140811f8f602f24aeaf6b62f9bbe9898fbbd8627520cf18d97461c [INFO] running `Command { std: "docker" "start" "-a" "8a9276892a140811f8f602f24aeaf6b62f9bbe9898fbbd8627520cf18d97461c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ffmpeg-sys-next v7.0.0 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling cookie_store v0.20.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling async-compression v0.4.8 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ffmpeg-next v7.0.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling log-derive v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rustube v0.6.0 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling Hyperlapser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `decoder` [INFO] [stdout] --> src/video_processor.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use ffmpeg_next::codec::{self, decoder}; [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 imports: `VideoDescrambler` and `VideoFetcher` [INFO] [stdout] --> src/downloader.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rustube::{VideoFetcher, Result, VideoDescrambler}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustube::url::Url` [INFO] [stdout] --> src/downloader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustube::url::Url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/handlers.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | HttpResponse::Ok().json({"Received link".to_string()}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 9 - HttpResponse::Ok().json({"Received link".to_string()}) [INFO] [stdout] 9 + HttpResponse::Ok().json("Received link".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_processor.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ictx = match input(&Path::new(video_path)) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_processor.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut codec_context = match codec::Context::from_parameters(codec_params) { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/server.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `general_routes` is never used [INFO] [stdout] --> src/routes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn general_routes(cfg: &mut web::ServiceConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/handlers.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn index() -> impl Responder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_link` is never used [INFO] [stdout] --> src/handlers.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn receive_link(link: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 21s [INFO] running `Command { std: "docker" "inspect" "8a9276892a140811f8f602f24aeaf6b62f9bbe9898fbbd8627520cf18d97461c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a9276892a140811f8f602f24aeaf6b62f9bbe9898fbbd8627520cf18d97461c", kill_on_drop: false }` [INFO] [stdout] 8a9276892a140811f8f602f24aeaf6b62f9bbe9898fbbd8627520cf18d97461c [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd954326e182e16da5cf1b02c2dce6ff771d0bb4755fbbbcb3be347ef6c60390 [INFO] running `Command { std: "docker" "start" "-a" "fd954326e182e16da5cf1b02c2dce6ff771d0bb4755fbbbcb3be347ef6c60390", kill_on_drop: false }` [INFO] [stderr] Compiling Hyperlapser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `decoder` [INFO] [stdout] --> src/video_processor.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use ffmpeg_next::codec::{self, decoder}; [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 imports: `VideoDescrambler` and `VideoFetcher` [INFO] [stdout] --> src/downloader.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use rustube::{VideoFetcher, Result, VideoDescrambler}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustube::url::Url` [INFO] [stdout] --> src/downloader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustube::url::Url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/handlers.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | HttpResponse::Ok().json({"Received link".to_string()}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 9 - HttpResponse::Ok().json({"Received link".to_string()}) [INFO] [stdout] 9 + HttpResponse::Ok().json("Received link".to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_processor.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut ictx = match input(&Path::new(video_path)) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/video_processor.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut codec_context = match codec::Context::from_parameters(codec_params) { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/server.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn run() -> std::io::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `general_routes` is never used [INFO] [stdout] --> src/routes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn general_routes(cfg: &mut web::ServiceConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/handlers.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn index() -> impl Responder { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `receive_link` is never used [INFO] [stdout] --> src/handlers.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn receive_link(link: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "fd954326e182e16da5cf1b02c2dce6ff771d0bb4755fbbbcb3be347ef6c60390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd954326e182e16da5cf1b02c2dce6ff771d0bb4755fbbbcb3be347ef6c60390", kill_on_drop: false }` [INFO] [stdout] fd954326e182e16da5cf1b02c2dce6ff771d0bb4755fbbbcb3be347ef6c60390 [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4094e3878b7d4604b943d97a8e4c3da0019cd0573205d1804b85a6c2aa47a94 [INFO] running `Command { std: "docker" "start" "-a" "b4094e3878b7d4604b943d97a8e4c3da0019cd0573205d1804b85a6c2aa47a94", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `decoder` [INFO] [stderr] --> src/video_processor.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use ffmpeg_next::codec::{self, decoder}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `VideoDescrambler` and `VideoFetcher` [INFO] [stderr] --> src/downloader.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use rustube::{VideoFetcher, Result, VideoDescrambler}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rustube::url::Url` [INFO] [stderr] --> src/downloader.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rustube::url::Url; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/handlers.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | HttpResponse::Ok().json({"Received link".to_string()}) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 9 - HttpResponse::Ok().json({"Received link".to_string()}) [INFO] [stderr] 9 + HttpResponse::Ok().json("Received link".to_string()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/video_processor.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let mut ictx = match input(&Path::new(video_path)) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/video_processor.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let mut codec_context = match codec::Context::from_parameters(codec_params) { [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/server.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn run() -> std::io::Result<()> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `general_routes` is never used [INFO] [stderr] --> src/routes.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn general_routes(cfg: &mut web::ServiceConfig) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `index` is never used [INFO] [stderr] --> src/handlers.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | pub async fn index() -> impl Responder { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `receive_link` is never used [INFO] [stderr] --> src/handlers.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn receive_link(link: web::Json) -> impl Responder { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `Hyperlapser` (bin "Hyperlapser" test) generated 10 warnings (run `cargo fix --bin "Hyperlapser" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Hyperlapser-fc10d9a441c50e61) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4094e3878b7d4604b943d97a8e4c3da0019cd0573205d1804b85a6c2aa47a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4094e3878b7d4604b943d97a8e4c3da0019cd0573205d1804b85a6c2aa47a94", kill_on_drop: false }` [INFO] [stdout] b4094e3878b7d4604b943d97a8e4c3da0019cd0573205d1804b85a6c2aa47a94