[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 1.47.0 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-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/shiver/rust-trends on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "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-4/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" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "+1.47.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.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-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" "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" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 229b501c4b10d822a69b360571dae89ba6e7165bfcc3f48c4c23cbb8b4e0b657
[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" "229b501c4b10d822a69b360571dae89ba6e7165bfcc3f48c4c23cbb8b4e0b657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "229b501c4b10d822a69b360571dae89ba6e7165bfcc3f48c4c23cbb8b4e0b657", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "229b501c4b10d822a69b360571dae89ba6e7165bfcc3f48c4c23cbb8b4e0b657", kill_on_drop: false }`
[INFO] [stdout] 229b501c4b10d822a69b360571dae89ba6e7165bfcc3f48c4c23cbb8b4e0b657
[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" "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" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2215065647a02db62659ad5336b36f4e983074bdbc962eb64bef42a42992024
[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" "e2215065647a02db62659ad5336b36f4e983074bdbc962eb64bef42a42992024", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling futures-core v0.3.6
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling ahash v0.4.6
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling pin-project-lite v0.1.10
[INFO] [stderr]    Compiling futures-sink v0.3.6
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling tracing-core v0.1.17
[INFO] [stderr]    Compiling libsqlite3-sys v0.20.1
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling hashlink v0.6.0
[INFO] [stderr]    Compiling rusqlite v0.24.1
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[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 or module `UTC`
[INFO] [stdout]   --> src/main.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |             date: UTC::now(),
[INFO] [stdout]    |                   ^^^ use of undeclared type or module `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 `hyper::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" "e2215065647a02db62659ad5336b36f4e983074bdbc962eb64bef42a42992024", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2215065647a02db62659ad5336b36f4e983074bdbc962eb64bef42a42992024", kill_on_drop: false }`
[INFO] [stdout] e2215065647a02db62659ad5336b36f4e983074bdbc962eb64bef42a42992024
