[INFO] cloning repository https://github.com/pestanko/rsfshttp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pestanko/rsfshttp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpestanko%2Frsfshttp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpestanko%2Frsfshttp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e9ad440d81cc68c8a0bd36918e3111b80d85d88 [INFO] checking pestanko/rsfshttp against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpestanko%2Frsfshttp" "/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/pestanko/rsfshttp on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pestanko/rsfshttp [INFO] finished tweaking git repo https://github.com/pestanko/rsfshttp [INFO] tweaked toml for git repo https://github.com/pestanko/rsfshttp written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pestanko/rsfshttp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 53aa2fbf9cba3318d346c66149f74b0a4e3caf60de49794f045119545d20f484 [INFO] running `Command { std: "docker" "start" "-a" "53aa2fbf9cba3318d346c66149f74b0a4e3caf60de49794f045119545d20f484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53aa2fbf9cba3318d346c66149f74b0a4e3caf60de49794f045119545d20f484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53aa2fbf9cba3318d346c66149f74b0a4e3caf60de49794f045119545d20f484", kill_on_drop: false }` [INFO] [stdout] 53aa2fbf9cba3318d346c66149f74b0a4e3caf60de49794f045119545d20f484 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eee9eb5806d3f9afd180c29c4a112afd708224d077fdd4e7b86d42489d97f92 [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" "6eee9eb5806d3f9afd180c29c4a112afd708224d077fdd4e7b86d42489d97f92", kill_on_drop: false }` [INFO] [stderr] Checking pathdiff v0.2.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Checking brotli-sys v0.3.2 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking slog-async v2.5.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking slog-stdlog v4.0.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking slog-term v2.6.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking slog-envlogger v2.2.0 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Checking rsfshttp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `name_str` [INFO] [stdout] --> src/fs/dirmapper.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let name_str: String = String::from(name); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_str` [INFO] [stdout] --> src/fs/dirmapper.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let name_str: String = String::from(name); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sublog` [INFO] [stdout] --> src/handlers.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let sublog = state.log.new(o!("handler" => "index")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sublog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sublog` [INFO] [stdout] --> src/handlers.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let sublog = state.log.new(o!("handler" => "api")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sublog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sublog` [INFO] [stdout] --> src/handlers.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let sublog = state.log.new(o!("handler" => "api_map")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sublog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/handlers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/handlers.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_str` [INFO] [stdout] --> src/fs/dirmapper.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let name_str: String = String::from(name); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name_str` [INFO] [stdout] --> src/fs/dirmapper.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let name_str: String = String::from(name); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sublog` [INFO] [stdout] --> src/handlers.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let sublog = state.log.new(o!("handler" => "index")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sublog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sublog` [INFO] [stdout] --> src/handlers.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let sublog = state.log.new(o!("handler" => "api")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sublog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sublog` [INFO] [stdout] --> src/handlers.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let sublog = state.log.new(o!("handler" => "api_map")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sublog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/handlers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/handlers.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | path: web::Path, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FileInfo` [INFO] [stdout] --> src/fs/fileinfo.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BasePath` [INFO] [stdout] --> src/fs/basepath.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BasePath { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/basepath.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(path: &Path, logger: &slog::Logger) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/fs/basepath.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fglob` [INFO] [stdout] --> src/fs/basepath.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn fglob(&self, pattern: &str) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list` [INFO] [stdout] --> src/fs/basepath.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn list(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/fs/basepath.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Error(String) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_forward_path` [INFO] [stdout] --> src/fs/basepath.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn is_forward_path(pth: &Path, base_pth: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DirsMapper` [INFO] [stdout] --> src/fs/dirmapper.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DirsMapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/dirmapper.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(logger: &slog::Logger) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/fs/dirmapper.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add(&mut self, name: &str, dir: BasePath) -> &DirsMapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_mapping` [INFO] [stdout] --> src/fs/dirmapper.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_mapping(&mut self, name: &str, dir: &Path) -> &DirsMapper { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/fs/dirmapper.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get(&self, name: &str) -> Option<&BasePath> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_basepath` [INFO] [stdout] --> src/fs/dirmapper.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn into_basepath(&self, path: &Path) -> BasePath { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paths` [INFO] [stdout] --> src/fs/dirmapper.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn paths(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PathWrapper` [INFO] [stdout] --> src/fs/path_wrapper.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PathWrapper { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/path_wrapper.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(base: &Path, relative: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path` [INFO] [stdout] --> src/fs/path_wrapper.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_path` [INFO] [stdout] --> src/fs/path_wrapper.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn base_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full_path` [INFO] [stdout] --> src/fs/path_wrapper.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn full_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BasePath` [INFO] [stdout] --> src/fs/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type BasePath = basepath::BasePath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DirsMapper` [INFO] [stdout] --> src/fs/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type DirsMapper = dirmapper::DirsMapper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `api_handler` [INFO] [stdout] --> src/handlers.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn api_handler(state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FileInfo` [INFO] [stdout] --> src/fs/fileinfo.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FileInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BasePath` [INFO] [stdout] --> src/fs/basepath.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BasePath { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/basepath.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(path: &Path, logger: &slog::Logger) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/fs/basepath.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get(&self, path: &Path) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fglob` [INFO] [stdout] --> src/fs/basepath.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn fglob(&self, pattern: &str) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list` [INFO] [stdout] --> src/fs/basepath.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn list(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/fs/basepath.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Error(String) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_forward_path` [INFO] [stdout] --> src/fs/basepath.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn is_forward_path(pth: &Path, base_pth: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DirsMapper` [INFO] [stdout] --> src/fs/dirmapper.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DirsMapper { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/dirmapper.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(logger: &slog::Logger) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/fs/dirmapper.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn add(&mut self, name: &str, dir: BasePath) -> &DirsMapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_mapping` [INFO] [stdout] --> src/fs/dirmapper.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_mapping(&mut self, name: &str, dir: &Path) -> &DirsMapper { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/fs/dirmapper.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get(&self, name: &str) -> Option<&BasePath> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_basepath` [INFO] [stdout] --> src/fs/dirmapper.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn into_basepath(&self, path: &Path) -> BasePath { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `paths` [INFO] [stdout] --> src/fs/dirmapper.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn paths(&self) -> &HashMap { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PathWrapper` [INFO] [stdout] --> src/fs/path_wrapper.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PathWrapper { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fs/path_wrapper.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(base: &Path, relative: &Path) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path` [INFO] [stdout] --> src/fs/path_wrapper.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_path` [INFO] [stdout] --> src/fs/path_wrapper.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn base_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full_path` [INFO] [stdout] --> src/fs/path_wrapper.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn full_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BasePath` [INFO] [stdout] --> src/fs/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type BasePath = basepath::BasePath; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `DirsMapper` [INFO] [stdout] --> src/fs/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type DirsMapper = dirmapper::DirsMapper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `api_handler` [INFO] [stdout] --> src/handlers.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn api_handler(state: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "6eee9eb5806d3f9afd180c29c4a112afd708224d077fdd4e7b86d42489d97f92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eee9eb5806d3f9afd180c29c4a112afd708224d077fdd4e7b86d42489d97f92", kill_on_drop: false }` [INFO] [stdout] 6eee9eb5806d3f9afd180c29c4a112afd708224d077fdd4e7b86d42489d97f92