[INFO] updating cached repository https://github.com/PerfectDemo/sorry-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddf8d9581a173cffc406c3d64968f9421f27be68 [INFO] testing PerfectDemo/sorry-rs against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerfectDemo%2Fsorry-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PerfectDemo/sorry-rs on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PerfectDemo/sorry-rs [INFO] finished tweaking git repo https://github.com/PerfectDemo/sorry-rs [INFO] tweaked toml for git repo https://github.com/PerfectDemo/sorry-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/PerfectDemo/sorry-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b07b14dcd918fa80b94cb0896ebada99f58a6f571dfdf8c864a645c6c0a931 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3b07b14dcd918fa80b94cb0896ebada99f58a6f571dfdf8c864a645c6c0a931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b07b14dcd918fa80b94cb0896ebada99f58a6f571dfdf8c864a645c6c0a931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b07b14dcd918fa80b94cb0896ebada99f58a6f571dfdf8c864a645c6c0a931", kill_on_drop: false }` [INFO] [stdout] e3b07b14dcd918fa80b94cb0896ebada99f58a6f571dfdf8c864a645c6c0a931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d65eeb6d3dfb708f29b4695f08f6c29b126a887d3da9a22aeb22945099c3906 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d65eeb6d3dfb708f29b4695f08f6c29b126a887d3da9a22aeb22945099c3906", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [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 memchr v2.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling bytestring v0.1.4 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling tokio v0.2.10 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling pin-project-internal v0.4.7 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling async-trait v0.1.22 [INFO] [stderr] Compiling enum-as-inner v0.3.0 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling actix-web-codegen v0.2.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.1 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.45 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling handlebars v3.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-files v0.2.1 [INFO] [stderr] Compiling sorry-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `web` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{get, web, App, HttpServer, Responder, middleware}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canonicalize` [INFO] [stdout] --> src/service.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{ read_dir, File, canonicalize }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value` [INFO] [stdout] --> src/service.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{ Result as JsonResult, Value, to_string as json_to_string }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ouput` [INFO] [stdout] --> src/service.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let ouput = Command::new("ffmpeg") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ouput` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/controller.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(obj: web::Path) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_mpeg` [INFO] [stdout] --> src/service.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn make_mpeg() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 40s [INFO] running `Command { std: "docker" "inspect" "0d65eeb6d3dfb708f29b4695f08f6c29b126a887d3da9a22aeb22945099c3906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d65eeb6d3dfb708f29b4695f08f6c29b126a887d3da9a22aeb22945099c3906", kill_on_drop: false }` [INFO] [stdout] 0d65eeb6d3dfb708f29b4695f08f6c29b126a887d3da9a22aeb22945099c3906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d0b8cf067bf49c49e4390aceb7cefe81fc24b3e94f5942f24c92d1605601ece [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d0b8cf067bf49c49e4390aceb7cefe81fc24b3e94f5942f24c92d1605601ece", kill_on_drop: false }` [INFO] [stderr] Compiling sorry-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Responder`, `web` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{get, web, App, HttpServer, Responder, middleware}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `canonicalize` [INFO] [stdout] --> src/service.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{ read_dir, File, canonicalize }; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value` [INFO] [stdout] --> src/service.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{ Result as JsonResult, Value, to_string as json_to_string }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ouput` [INFO] [stdout] --> src/service.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let ouput = Command::new("ffmpeg") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ouput` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/service.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let result = render_ass(&"afiejfajfjalefjailefjal", &item).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `index` [INFO] [stdout] --> src/controller.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | async fn index(obj: web::Path) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_mpeg` [INFO] [stdout] --> src/service.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn make_mpeg() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.70s [INFO] running `Command { std: "docker" "inspect" "1d0b8cf067bf49c49e4390aceb7cefe81fc24b3e94f5942f24c92d1605601ece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d0b8cf067bf49c49e4390aceb7cefe81fc24b3e94f5942f24c92d1605601ece", kill_on_drop: false }` [INFO] [stdout] 1d0b8cf067bf49c49e4390aceb7cefe81fc24b3e94f5942f24c92d1605601ece [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73659b7d9556dd83c45de74a3f4e05c2b974b9d312c5ced4a273931b0d192820 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "73659b7d9556dd83c45de74a3f4e05c2b974b9d312c5ced4a273931b0d192820", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Responder`, `web` [INFO] [stderr] --> src/main.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | use actix_web::{get, web, App, HttpServer, Responder, middleware}; [INFO] [stderr] | ^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `canonicalize` [INFO] [stderr] --> src/service.rs:3:32 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fs::{ read_dir, File, canonicalize }; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Result as JsonResult`, `Value` [INFO] [stderr] --> src/service.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::{ Result as JsonResult, Value, to_string as json_to_string }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ouput` [INFO] [stderr] --> src/service.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | let ouput = Command::new("ffmpeg") [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ouput` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/service.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | let result = render_ass(&"afiejfajfjalefjailefjal", &item).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `index` [INFO] [stderr] --> src/controller.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | async fn index(obj: web::Path) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `make_mpeg` [INFO] [stderr] --> src/service.rs:111:4 [INFO] [stderr] | [INFO] [stderr] 111 | fn make_mpeg() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/sorry_rs-53d51b0951db05e6 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test service::test::test_render_ass ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- service::test::test_render_ass stdout ---- [INFO] [stdout] thread 'service::test::test_render_ass' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/service.rs:124:68 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5555e11e3855 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5555e11e3855 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5555e11e3855 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5555e11e3855 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5555e120b9ac - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5555e105e0f5 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5555e11ddf21 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5555e11e5fb0 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5555e11e5fb0 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5555e11e5fb0 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5555e11e5caa - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5555e11e65f3 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5555e11e61eb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5555e120a091 - core::panicking::panic_fmt::h78830ea6a34e7206 [INFO] [stdout] at src/libcore/panicking.rs:85 [INFO] [stdout] 14: 0x5555e1209eb3 - core::option::expect_none_failed::hf79bbb5ca7e09e08 [INFO] [stdout] at src/libcore/option.rs:1269 [INFO] [stdout] 15: 0x5555e105a44e - core::result::Result::unwrap::h46431fb9c438d5f6 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/result.rs:1005 [INFO] [stdout] 16: 0x5555e105ae4b - sorry_rs::service::test::test_render_ass::ha008090fe7c8375a [INFO] [stdout] at src/service.rs:124 [INFO] [stdout] 17: 0x5555e105acda - sorry_rs::service::test::test_render_ass::{{closure}}::h2005fedbf56af7f0 [INFO] [stdout] at src/service.rs:119 [INFO] [stdout] 18: 0x5555e10529ae - core::ops::function::FnOnce::call_once::h48beeb3ac9a58c52 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 19: 0x5555e108566c - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 20: 0x5555e108566c - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 21: 0x5555e108566c - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 22: 0x5555e108566c - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 23: 0x5555e108566c - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 24: 0x5555e108566c - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 25: 0x5555e108566c - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 26: 0x5555e105d5e6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 27: 0x5555e10625d5 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 28: 0x5555e10625d5 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 29: 0x5555e10625d5 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 30: 0x5555e10625d5 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 31: 0x5555e10625d5 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 32: 0x5555e10625d5 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 33: 0x5555e10625d5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 34: 0x5555e11ec7ca - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 35: 0x5555e11ec7ca - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 36: 0x5555e11ec7ca - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 37: 0x7f7b0c2a6609 - start_thread [INFO] [stdout] 38: 0x7f7b0c1b2103 - __clone [INFO] [stdout] 39: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] service::test::test_render_ass [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin sorry-rs' [INFO] running `Command { std: "docker" "inspect" "73659b7d9556dd83c45de74a3f4e05c2b974b9d312c5ced4a273931b0d192820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73659b7d9556dd83c45de74a3f4e05c2b974b9d312c5ced4a273931b0d192820", kill_on_drop: false }` [INFO] [stdout] 73659b7d9556dd83c45de74a3f4e05c2b974b9d312c5ced4a273931b0d192820