[INFO] cloning repository https://github.com/EFulmer/random-dril-tweets [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EFulmer/random-dril-tweets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEFulmer%2Frandom-dril-tweets"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEFulmer%2Frandom-dril-tweets'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c62fb0e8df0808c30b98264e284cd58da1c3ae4a [INFO] testing EFulmer/random-dril-tweets against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEFulmer%2Frandom-dril-tweets" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EFulmer/random-dril-tweets on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/EFulmer/random-dril-tweets [INFO] finished tweaking git repo https://github.com/EFulmer/random-dril-tweets [INFO] tweaked toml for git repo https://github.com/EFulmer/random-dril-tweets written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/EFulmer/random-dril-tweets already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] ae47054adbf02e2ae0579481b0f7ee62a6d6db5be06344078997326dd034d778 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ae47054adbf02e2ae0579481b0f7ee62a6d6db5be06344078997326dd034d778"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.0.9 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling serde v0.7.15 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling separator v0.3.1 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling ansi_term v0.7.5 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling textnonce v0.4.1 [INFO] [stderr] Compiling semver-parser v0.6.2 [INFO] [stderr] Compiling semver v0.5.1 [INFO] [stderr] Compiling bson v0.3.2 [INFO] [stderr] Compiling bson v0.2.1 [INFO] [stderr] Compiling scan_fmt v0.1.3 [INFO] [stderr] Compiling mongodb v0.1.8 [INFO] [stderr] Compiling random-dril-tweet v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:26:18 [INFO] [stderr] | [INFO] [stderr] 26 | let output = try!(Command::new("curl") [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | try!(f.write(output.stdout.as_slice())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | try!(f.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | try!(f.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:48:41 [INFO] [stderr] | [INFO] [stderr] 48 | let mut cursor = coll.find(Some(doc), None).unwrap(); [INFO] [stderr] | ^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | coll.insert_one(doc!{"tweet" => tweet}, None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `bson::ordered::OrderedDocument`, found a different struct `bson::ordered::OrderedDocument` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `bson` are being used? [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `random-dril-tweet`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ae47054adbf02e2ae0579481b0f7ee62a6d6db5be06344078997326dd034d778"` [INFO] running `"docker" "rm" "-f" "ae47054adbf02e2ae0579481b0f7ee62a6d6db5be06344078997326dd034d778"` [INFO] [stdout] ae47054adbf02e2ae0579481b0f7ee62a6d6db5be06344078997326dd034d778