[INFO] cloning repository https://github.com/codecrunchers/pi_drive_sync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codecrunchers/pi_drive_sync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrunchers%2Fpi_drive_sync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrunchers%2Fpi_drive_sync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96e25b37808d264abd50ad025200096b309b7ad2 [INFO] testing codecrunchers/pi_drive_sync against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrunchers%2Fpi_drive_sync" "/workspace/builds/worker-42/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-42/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codecrunchers/pi_drive_sync on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codecrunchers/pi_drive_sync [INFO] finished tweaking git repo https://github.com/codecrunchers/pi_drive_sync [INFO] tweaked toml for git repo https://github.com/codecrunchers/pi_drive_sync written to /workspace/builds/worker-42/source/Cargo.toml [INFO] crate git repo https://github.com/codecrunchers/pi_drive_sync already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1139c2f0acef5afe91d1b520c7dd2d547d4101d2f6e275c28d59e02103126196 [INFO] running `Command { std: "docker" "start" "-a" "1139c2f0acef5afe91d1b520c7dd2d547d4101d2f6e275c28d59e02103126196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1139c2f0acef5afe91d1b520c7dd2d547d4101d2f6e275c28d59e02103126196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1139c2f0acef5afe91d1b520c7dd2d547d4101d2f6e275c28d59e02103126196", kill_on_drop: false }` [INFO] [stdout] 1139c2f0acef5afe91d1b520c7dd2d547d4101d2f6e275c28d59e02103126196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0356296575f8395d1dad14768f2ae7793a1d16ca7f4d589c417875a59b175cdd [INFO] running `Command { std: "docker" "start" "-a" "0356296575f8395d1dad14768f2ae7793a1d16ca7f4d589c417875a59b175cdd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling pin-project-lite v0.1.8 [INFO] [stderr] Compiling pin-project-internal v0.4.24 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.19 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling ttl_cache v0.5.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.4.0 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling slog-term v2.6.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling hyper-rustls v0.6.2 [INFO] [stderr] Compiling pin-project v0.4.24 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling yup-oauth2 v1.0.12 [INFO] [stderr] Compiling google-drive3 v1.0.14+20200618 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling pi_drive_sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `raw_watcher` [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use notify::{raw_watcher, RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryStorage` [INFO] [stdout] --> src/drive_cli.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | DiskTokenStorage, GetToken, MemoryStorage, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/upload_handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `do_auth` [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let do_auth = matches.value_of("check_auth"); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_do_auth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/drive_cli.rs:168:41 [INFO] [stdout] | [INFO] [stdout] 168 | ... let x = cached_w.insert( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/drive_cli.rs:187:33 [INFO] [stdout] | [INFO] [stdout] 187 | ... Err(e) => error!( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_path` [INFO] [stdout] --> src/drive_cli.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | let parent_path = parent_path.to_str().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/drive_cli.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | if let Ok(file) = std::fs::File::open(local_fs_path) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/drive_cli.rs:394:21 [INFO] [stdout] | [INFO] [stdout] 394 | let x = cached_w.insert(uid.clone(), drive_id.clone(), *CACHE_TTL); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/drive_cli.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut rel_path = syncable [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/drive_cli.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | self.create_path(&s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.44s [INFO] running `Command { std: "docker" "inspect" "0356296575f8395d1dad14768f2ae7793a1d16ca7f4d589c417875a59b175cdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0356296575f8395d1dad14768f2ae7793a1d16ca7f4d589c417875a59b175cdd", kill_on_drop: false }` [INFO] [stdout] 0356296575f8395d1dad14768f2ae7793a1d16ca7f4d589c417875a59b175cdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21538897df81b2006be358e137a9c3f9d20c6a5db5c2bf595ec65f3ed9f96c04 [INFO] running `Command { std: "docker" "start" "-a" "21538897df81b2006be358e137a9c3f9d20c6a5db5c2bf595ec65f3ed9f96c04", kill_on_drop: false }` [INFO] [stderr] Compiling pi_drive_sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `raw_watcher` [INFO] [stdout] --> src/main.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use notify::{raw_watcher, RecommendedWatcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MemoryStorage` [INFO] [stdout] --> src/drive_cli.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | DiskTokenStorage, GetToken, MemoryStorage, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/drive_cli.rs:516:17 [INFO] [stdout] | [INFO] [stdout] 516 | let s = Drive3Client::create_path(&SyncableFile::new( [INFO] [stdout] | _________________^^^^^^^^^^^^^^^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | expected 2 arguments [INFO] [stdout] 517 | | "/var/www/RpiCamera/1/2/3/4/im1.jpg".to_string(), [INFO] [stdout] 518 | | )); [INFO] [stdout] | |_________- supplied 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/drive_cli.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn create_path(&self, syncable: &SyncableFile) -> PiSyncResult { [INFO] [stdout] | ^^^^^^^^^^^ ----- ----------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pi_drive_sync` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21538897df81b2006be358e137a9c3f9d20c6a5db5c2bf595ec65f3ed9f96c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21538897df81b2006be358e137a9c3f9d20c6a5db5c2bf595ec65f3ed9f96c04", kill_on_drop: false }` [INFO] [stdout] 21538897df81b2006be358e137a9c3f9d20c6a5db5c2bf595ec65f3ed9f96c04