[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] 8f10a53e26943b6c5bbafd51a36e495fae602232 [INFO] testing codecrunchers/pi_drive_sync against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodecrunchers%2Fpi_drive_sync" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codecrunchers/pi_drive_sync on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f85d7d580d5eecef8f842cdc5fc8d6267cc58dcd8266e51394e62effe41a879d [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" "f85d7d580d5eecef8f842cdc5fc8d6267cc58dcd8266e51394e62effe41a879d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f85d7d580d5eecef8f842cdc5fc8d6267cc58dcd8266e51394e62effe41a879d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f85d7d580d5eecef8f842cdc5fc8d6267cc58dcd8266e51394e62effe41a879d", kill_on_drop: false }` [INFO] [stdout] f85d7d580d5eecef8f842cdc5fc8d6267cc58dcd8266e51394e62effe41a879d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe3f52f78c505be924c52ab19683cdfd301a649c246e893928a9754b66d44058 [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" "fe3f52f78c505be924c52ab19683cdfd301a649c246e893928a9754b66d44058", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling pin-project-lite v0.1.8 [INFO] [stderr] Compiling pin-project-internal v0.4.24 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.6.19 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling slog-async v2.5.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [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 inotify-sys v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.13 [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 regex v1.4.0 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling slog-term v2.6.0 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling rustls v0.13.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling hyper-rustls v0.6.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project v0.4.24 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling yup-oauth2 v1.0.12 [INFO] [stderr] Compiling h2 v0.2.6 [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: `MemoryStorage` [INFO] [stdout] --> src/drive_cli.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | DiskTokenStorage, GetToken, MemoryStorage, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/upload_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `do_auth` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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: `file` [INFO] [stdout] --> src/drive_cli.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "fe3f52f78c505be924c52ab19683cdfd301a649c246e893928a9754b66d44058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3f52f78c505be924c52ab19683cdfd301a649c246e893928a9754b66d44058", kill_on_drop: false }` [INFO] [stdout] fe3f52f78c505be924c52ab19683cdfd301a649c246e893928a9754b66d44058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9171f52579eff2fd7edb341a07b50b79d31d3879ce77144ae49dff3dadcf9090 [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" "9171f52579eff2fd7edb341a07b50b79d31d3879ce77144ae49dff3dadcf9090", kill_on_drop: false }` [INFO] [stderr] Compiling pi_drive_sync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: functions used as tests can not have any arguments [INFO] [stdout] --> src/drive_cli.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | / fn test_drive_cli_id(dc: Drive3Client) { [INFO] [stdout] 361 | | let dc = Drive3Client::new("/home/alan/.google-service-cli/drive3-secret.json".to_owned()); [INFO] [stdout] 362 | | let d = "/tmp/pi_sync/images/new_dir"; [INFO] [stdout] 363 | | [INFO] [stdout] ... | [INFO] [stdout] 399 | | [INFO] [stdout] 400 | | } [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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/drive_cli.rs:346:18 [INFO] [stdout] | [INFO] [stdout] 346 | let dc = Drive3Client::new("/home/alan/.google-service-cli/drive3-secret.json".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/drive_cli.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(secret_file: String, filters: Vec<&str>) -> Self { [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:361:18 [INFO] [stdout] | [INFO] [stdout] 361 | let dc = Drive3Client::new("/home/alan/.google-service-cli/drive3-secret.json".to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------------------------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/drive_cli.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(secret_file: String, filters: Vec<&str>) -> Self { [INFO] [stdout] | ^^^ ------------------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "9171f52579eff2fd7edb341a07b50b79d31d3879ce77144ae49dff3dadcf9090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9171f52579eff2fd7edb341a07b50b79d31d3879ce77144ae49dff3dadcf9090", kill_on_drop: false }` [INFO] [stdout] 9171f52579eff2fd7edb341a07b50b79d31d3879ce77144ae49dff3dadcf9090