[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrunchers%2Fpi_drive_sync" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codecrunchers/pi_drive_sync on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-29/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded google-drive3 v1.0.14+20200618 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deea04240c6889785060b42b7c4b72d2f244a5a6f9dbf9d12fdf1f18898fe8a1 [INFO] running `Command { std: "docker" "start" "-a" "deea04240c6889785060b42b7c4b72d2f244a5a6f9dbf9d12fdf1f18898fe8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deea04240c6889785060b42b7c4b72d2f244a5a6f9dbf9d12fdf1f18898fe8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deea04240c6889785060b42b7c4b72d2f244a5a6f9dbf9d12fdf1f18898fe8a1", kill_on_drop: false }` [INFO] [stdout] deea04240c6889785060b42b7c4b72d2f244a5a6f9dbf9d12fdf1f18898fe8a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29e18d7e9d76eeba671b16a3cfcad6c5176d838c65aee0ab501300c62dcf8107 [INFO] running `Command { std: "docker" "start" "-a" "29e18d7e9d76eeba671b16a3cfcad6c5176d838c65aee0ab501300c62dcf8107", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [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 syn v1.0.38 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling version_check v0.1.5 [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 pin-project-internal v0.4.24 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling pin-project-lite v0.1.8 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.19 [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 tracing-core v0.1.17 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling ttl_cache v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling regex v1.4.0 [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 getrandom v0.1.14 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling slog-term v2.6.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling rustls v0.13.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 26.59s [INFO] running `Command { std: "docker" "inspect" "29e18d7e9d76eeba671b16a3cfcad6c5176d838c65aee0ab501300c62dcf8107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e18d7e9d76eeba671b16a3cfcad6c5176d838c65aee0ab501300c62dcf8107", kill_on_drop: false }` [INFO] [stdout] 29e18d7e9d76eeba671b16a3cfcad6c5176d838c65aee0ab501300c62dcf8107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18b5a12bca7e0a721217be2ff0ada38c65e960adfbdc01b348ad4d1ed5d1aaad [INFO] running `Command { std: "docker" "start" "-a" "18b5a12bca7e0a721217be2ff0ada38c65e960adfbdc01b348ad4d1ed5d1aaad", 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" "18b5a12bca7e0a721217be2ff0ada38c65e960adfbdc01b348ad4d1ed5d1aaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b5a12bca7e0a721217be2ff0ada38c65e960adfbdc01b348ad4d1ed5d1aaad", kill_on_drop: false }` [INFO] [stdout] 18b5a12bca7e0a721217be2ff0ada38c65e960adfbdc01b348ad4d1ed5d1aaad