[INFO] cloning repository https://github.com/saromanov/backuppp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saromanov/backuppp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaromanov%2Fbackuppp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaromanov%2Fbackuppp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adccff5aa8285fc137150c92cd7904bddb920d0b [INFO] testing saromanov/backuppp against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaromanov%2Fbackuppp" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saromanov/backuppp on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saromanov/backuppp [INFO] finished tweaking git repo https://github.com/saromanov/backuppp [INFO] tweaked toml for git repo https://github.com/saromanov/backuppp written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/saromanov/backuppp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd1bdf7a074fb7c9b7850e93b0673de41a4f82e73e1d3d8485ef6e72217b5470 [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" "fd1bdf7a074fb7c9b7850e93b0673de41a4f82e73e1d3d8485ef6e72217b5470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd1bdf7a074fb7c9b7850e93b0673de41a4f82e73e1d3d8485ef6e72217b5470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd1bdf7a074fb7c9b7850e93b0673de41a4f82e73e1d3d8485ef6e72217b5470", kill_on_drop: false }` [INFO] [stdout] fd1bdf7a074fb7c9b7850e93b0673de41a4f82e73e1d3d8485ef6e72217b5470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", 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] a1762000225d0d6dbc9cf4854f0960797230f79df3c9e7c6f19f3f7a18372fa8 [INFO] running `Command { std: "docker" "start" "-a" "a1762000225d0d6dbc9cf4854f0960797230f79df3c9e7c6f19f3f7a18372fa8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rust-ini v0.9.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling subprocess v0.1.20 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling curl-sys v0.4.33+curl-7.71.1 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling serde-xml-rs v0.2.1 [INFO] [stderr] Compiling rust-s3 v0.10.1 [INFO] [stderr] Compiling backuppp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `s3`? [INFO] [stdout] --> src/upload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use s3::bucket::Bucket; [INFO] [stdout] | ^^ maybe a missing crate `s3`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `s3`? [INFO] [stdout] --> src/upload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use s3::credentials::Credentials; [INFO] [stdout] | ^^ maybe a missing crate `s3`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Credentials` [INFO] [stdout] --> src/upload.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let credentials = Credentials::default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `Credentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Bucket` [INFO] [stdout] --> src/upload.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let bucket = Bucket::new(bucket, region, credentials); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `Bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FtpStream` [INFO] [stdout] --> src/upload.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let mut ftp_stream = FtpStream::connect(conf.ftp_address).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FtpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REGION` in this scope [INFO] [stdout] --> src/upload.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let region = REGION.parse().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MESSAGE` in this scope [INFO] [stdout] --> src/upload.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | let (_, code) = bucket.put("test_file", MESSAGE.as_bytes(), "text/plain").unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Cursor` [INFO] [stdout] --> src/upload.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let mut reader = Cursor::new("Hello from the Rust \"ftp\" crate!".as_bytes()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mysql.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mongo.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backuppp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a1762000225d0d6dbc9cf4854f0960797230f79df3c9e7c6f19f3f7a18372fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1762000225d0d6dbc9cf4854f0960797230f79df3c9e7c6f19f3f7a18372fa8", kill_on_drop: false }` [INFO] [stdout] a1762000225d0d6dbc9cf4854f0960797230f79df3c9e7c6f19f3f7a18372fa8