[INFO] cloning repository https://github.com/anosatsuk124/webdav-git-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anosatsuk124/webdav-git-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanosatsuk124%2Fwebdav-git-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanosatsuk124%2Fwebdav-git-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef0e57d1c31b43e8060993b65f4d3ddde4538e53 [INFO] testing anosatsuk124/webdav-git-rs/ef0e57d1c31b43e8060993b65f4d3ddde4538e53 against beta-2024-09-05 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanosatsuk124%2Fwebdav-git-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anosatsuk124/webdav-git-rs on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anosatsuk124/webdav-git-rs [INFO] finished tweaking git repo https://github.com/anosatsuk124/webdav-git-rs [INFO] tweaked toml for git repo https://github.com/anosatsuk124/webdav-git-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anosatsuk124/webdav-git-rs 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" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fb3fffc178ecfbfd44f4a98cb899551c93ddd43336f7bdb7b4343112547951f [INFO] running `Command { std: "docker" "start" "-a" "6fb3fffc178ecfbfd44f4a98cb899551c93ddd43336f7bdb7b4343112547951f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fb3fffc178ecfbfd44f4a98cb899551c93ddd43336f7bdb7b4343112547951f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb3fffc178ecfbfd44f4a98cb899551c93ddd43336f7bdb7b4343112547951f", kill_on_drop: false }` [INFO] [stdout] 6fb3fffc178ecfbfd44f4a98cb899551c93ddd43336f7bdb7b4343112547951f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddad420354e29260309ecf36c38981d1e9897e884d06ac50e5e24edc2179748f [INFO] running `Command { std: "docker" "start" "-a" "ddad420354e29260309ecf36c38981d1e9897e884d06ac50e5e24edc2179748f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.17 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.0 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling webdav-handler v0.2.0 (https://github.com/anosatsuk124/webdav-handler-rs.git?branch=patched#743b5554) [INFO] [stderr] Compiling actix-web-httpauth v0.6.0 (https://github.com/anosatsuk124/actix-extras-patched-http-auth-digest.git?branch=patched-digest#0b34bb7a) [INFO] [stderr] Compiling webdav-git-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ffi::OsStr` [INFO] [stdout] --> src/repo.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ffi::OsStr, path::Path, sync::mpsc::channel, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_httpauth::headers::authorization` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web_httpauth::headers::authorization; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecommendedWatcher` and `RecursiveMode` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use notify::{RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `borrow::Cow` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webdav_handler::actix` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webdav_handler::actix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use notify::{RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/repo.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let (tx, rx) = channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo1` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let repo1 = Repo::new("./repos/anosatsuk124", "anosatsuk124").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_repo1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserName` is more private than the item `Repo::user` [INFO] [stdout] --> src/repo.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn user(&self) -> &UserName { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Repo::user` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `UserName` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/repo.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct UserName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct UserName(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo` and `user` are never read [INFO] [stdout] --> src/repo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Repo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | repo: Repository, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | user: UserName, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `watch`, and `user` are never used [INFO] [stdout] --> src/repo.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Repo { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn init(dir: &str, username: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn watch(&self) -> Result<(), RepoError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn user(&self) -> &UserName { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.15s [INFO] running `Command { std: "docker" "inspect" "ddad420354e29260309ecf36c38981d1e9897e884d06ac50e5e24edc2179748f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddad420354e29260309ecf36c38981d1e9897e884d06ac50e5e24edc2179748f", kill_on_drop: false }` [INFO] [stdout] ddad420354e29260309ecf36c38981d1e9897e884d06ac50e5e24edc2179748f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 555ec1bf1356828b25465935f447f08abf1d088bf96fe0bbcb2744cfcdbf163f [INFO] running `Command { std: "docker" "start" "-a" "555ec1bf1356828b25465935f447f08abf1d088bf96fe0bbcb2744cfcdbf163f", kill_on_drop: false }` [INFO] [stderr] Compiling webdav-git-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ffi::OsStr` [INFO] [stdout] --> src/repo.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{ffi::OsStr, path::Path, sync::mpsc::channel, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_httpauth::headers::authorization` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web_httpauth::headers::authorization; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecommendedWatcher` and `RecursiveMode` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use notify::{RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `borrow::Cow` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | borrow::Cow, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webdav_handler::actix` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webdav_handler::actix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use notify::{RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx` [INFO] [stdout] --> src/repo.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let (tx, rx) = channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo1` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let repo1 = Repo::new("./repos/anosatsuk124", "anosatsuk124").unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_repo1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `UserName` is more private than the item `Repo::user` [INFO] [stdout] --> src/repo.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn user(&self) -> &UserName { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Repo::user` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `UserName` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/repo.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct UserName(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/repo.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | struct UserName(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `repo` and `user` are never read [INFO] [stdout] --> src/repo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Repo { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | repo: Repository, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | user: UserName, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `watch`, and `user` are never used [INFO] [stdout] --> src/repo.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Repo { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn init(dir: &str, username: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn watch(&self) -> Result<(), RepoError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn user(&self) -> &UserName { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "555ec1bf1356828b25465935f447f08abf1d088bf96fe0bbcb2744cfcdbf163f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555ec1bf1356828b25465935f447f08abf1d088bf96fe0bbcb2744cfcdbf163f", kill_on_drop: false }` [INFO] [stdout] 555ec1bf1356828b25465935f447f08abf1d088bf96fe0bbcb2744cfcdbf163f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 97cafddc8fcb016076799d6d2204764b0ad0c95b5c8f184da50dff82bbcd8ba5 [INFO] running `Command { std: "docker" "start" "-a" "97cafddc8fcb016076799d6d2204764b0ad0c95b5c8f184da50dff82bbcd8ba5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ffi::OsStr` [INFO] [stderr] --> src/repo.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{ffi::OsStr, path::Path, sync::mpsc::channel, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web_httpauth::headers::authorization` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web_httpauth::headers::authorization; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RecommendedWatcher` and `RecursiveMode` [INFO] [stderr] --> src/main.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | use notify::{RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DerefMut`, `Deref`, and `borrow::Cow` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | borrow::Cow, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 12 | ops::{Deref, DerefMut}, [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `webdav_handler::actix` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use webdav_handler::actix; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Watcher` [INFO] [stderr] --> src/main.rs:8:49 [INFO] [stderr] | [INFO] [stderr] 8 | use notify::{RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rx` [INFO] [stderr] --> src/repo.rs:55:18 [INFO] [stderr] | [INFO] [stderr] 55 | let (tx, rx) = channel(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repo1` [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let repo1 = Repo::new("./repos/anosatsuk124", "anosatsuk124").unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_repo1` [INFO] [stderr] [INFO] [stderr] warning: type `UserName` is more private than the item `Repo::user` [INFO] [stderr] --> src/repo.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn user(&self) -> &UserName { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Repo::user` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `UserName` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/repo.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | struct UserName(String); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/repo.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | struct UserName(String); [INFO] [stderr] | -------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `repo` and `user` are never read [INFO] [stderr] --> src/repo.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Repo { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 15 | repo: Repository, [INFO] [stderr] | ^^^^ [INFO] [stderr] 16 | user: UserName, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `init`, `watch`, and `user` are never used [INFO] [stderr] --> src/repo.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Repo { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn init(dir: &str, username: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn watch(&self) -> Result<(), RepoError> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn user(&self) -> &UserName { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `webdav-git-rs` (bin "webdav-git-rs" test) generated 13 warnings (run `cargo fix --bin "webdav-git-rs" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/webdav_git_rs-6da9f752382c1fd0) [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" "97cafddc8fcb016076799d6d2204764b0ad0c95b5c8f184da50dff82bbcd8ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97cafddc8fcb016076799d6d2204764b0ad0c95b5c8f184da50dff82bbcd8ba5", kill_on_drop: false }` [INFO] [stdout] 97cafddc8fcb016076799d6d2204764b0ad0c95b5c8f184da50dff82bbcd8ba5