[INFO] cloning repository https://github.com/shiver/rust-trends
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiver/rust-trends" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiver%2Frust-trends", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiver%2Frust-trends'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd5385b92ddf905944fc21dc97c2023dc58c7934
[INFO] testing shiver/rust-trends against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiver%2Frust-trends" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shiver/rust-trends on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shiver/rust-trends
[INFO] finished tweaking git repo https://github.com/shiver/rust-trends
[INFO] tweaked toml for git repo https://github.com/shiver/rust-trends written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] crate git repo https://github.com/shiver/rust-trends already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ahash v0.4.6
[INFO] [stderr]   Downloaded hashlink v0.6.0
[INFO] [stderr]   Downloaded rusqlite v0.24.1
[INFO] [stderr]   Downloaded libsqlite3-sys v0.20.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", 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] 7ed89197efc1edfd1580e5729c213b243f28e5d1f48e21b19c3db1ed24d8abf1
[INFO] running `Command { std: "docker" "start" "-a" "7ed89197efc1edfd1580e5729c213b243f28e5d1f48e21b19c3db1ed24d8abf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ed89197efc1edfd1580e5729c213b243f28e5d1f48e21b19c3db1ed24d8abf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ed89197efc1edfd1580e5729c213b243f28e5d1f48e21b19c3db1ed24d8abf1", kill_on_drop: false }`
[INFO] [stdout] 7ed89197efc1edfd1580e5729c213b243f28e5d1f48e21b19c3db1ed24d8abf1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ffa3f0ef51d1fc86062dbaf7548aa27dc67f197e249974b635038c5e45ee4602
[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" "ffa3f0ef51d1fc86062dbaf7548aa27dc67f197e249974b635038c5e45ee4602", kill_on_drop: false }`
[INFO] [stderr]    Compiling ahash v0.4.6
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling hashlink v0.6.0
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling rusqlite v0.24.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling hyper v0.13.8
[INFO] [stderr]    Compiling rust-trends v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stdout]   --> src/main.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | use hyper::header::{Headers, UserAgent};
[INFO] [stdout]    |                     ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Headers` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rusqlite::SqliteConnection`, `rusqlite::SqliteError`, `rusqlite::SqliteRows`
[INFO] [stdout]   --> src/main.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | use rusqlite::{SqliteConnection, SqliteError, SqliteRows};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^ no `SqliteRows` in the root
[INFO] [stdout]    |                |                 |
[INFO] [stdout]    |                |                 no `SqliteError` in the root
[INFO] [stdout]    |                no `SqliteConnection` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `SqliteConnection` in `rusqlite`
[INFO] [stdout]   --> src/main.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let result = rusqlite::SqliteConnection::open(STORE_PATH);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ could not find `SqliteConnection` in `rusqlite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UTC`
[INFO] [stdout]   --> src/main.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |             date: UTC::now(),
[INFO] [stdout]    |                   ^^^ use of undeclared type `UTC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UTC` in this scope
[INFO] [stdout]   --> src/main.rs:79:20
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct Trend {
[INFO] [stdout]    |             - help: you might be missing a type parameter: `<UTC>`
[INFO] [stdout] ...
[INFO] [stdout] 79 |     date: DateTime<UTC>,
[INFO] [stdout]    |                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let rows = try!(self.query("SELECT version FROM _trends"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/main.rs:67:32
[INFO] [stdout]    |
[INFO] [stdout] 67 |             None => return Err(Error::new(ErrorKind::NotFound))
[INFO] [stdout]    |                                ^^^^^^^^^^ ------------------- supplied 1 argument
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for reference `&serde_json::Value` in the current scope
[INFO] [stdout]   --> src/main.rs:85:38
[INFO] [stdout]    |
[INFO] [stdout] 85 |             name: str_to_string(data.find("full_name").unwrap().as_string().unwrap()),
[INFO] [stdout]    |                                      ^^^^ method not found in `&serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for reference `&serde_json::Value` in the current scope
[INFO] [stdout]   --> src/main.rs:86:37
[INFO] [stdout]    |
[INFO] [stdout] 86 |             url: str_to_string(data.find("html_url").unwrap().as_string().unwrap()),
[INFO] [stdout]    |                                     ^^^^ method not found in `&serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for reference `&serde_json::Value` in the current scope
[INFO] [stdout]   --> src/main.rs:87:45
[INFO] [stdout]    |
[INFO] [stdout] 87 |             description: str_to_string(data.find("description").unwrap().as_string().unwrap()),
[INFO] [stdout]    |                                             ^^^^ method not found in `&serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:113:41
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut response = match client.get(&*url).headers(headers).send() {
[INFO] [stdout]     |                                         ^^^^^ expected struct `Uri`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `headers` found for struct `hyper::client::ResponseFuture` in the current scope
[INFO] [stdout]    --> src/main.rs:113:48
[INFO] [stdout]     |
[INFO] [stdout] 113 |     let mut response = match client.get(&*url).headers(headers).send() {
[INFO] [stdout]     |                                                ^^^^^^^ method not found in `hyper::client::ResponseFuture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for enum `serde_json::Value` in the current scope
[INFO] [stdout]    --> src/main.rs:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let items = json.find("items").unwrap();
[INFO] [stdout]     |                      ^^^^ method not found in `serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-trends`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ffa3f0ef51d1fc86062dbaf7548aa27dc67f197e249974b635038c5e45ee4602", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffa3f0ef51d1fc86062dbaf7548aa27dc67f197e249974b635038c5e45ee4602", kill_on_drop: false }`
[INFO] [stdout] ffa3f0ef51d1fc86062dbaf7548aa27dc67f197e249974b635038c5e45ee4602
