[INFO] updating cached repository https://github.com/TerenceGe/rust_data_api
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 8612a28f0fb0c2d7694dcf2c98b6fbe4d7d79391
[INFO] testing TerenceGe/rust_data_api against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTerenceGe%2Frust_data_api" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TerenceGe/rust_data_api on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/TerenceGe/rust_data_api
[INFO] finished tweaking git repo https://github.com/TerenceGe/rust_data_api
[INFO] tweaked toml for git repo https://github.com/TerenceGe/rust_data_api written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/TerenceGe/rust_data_api already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d157907bbf0458ae7770938b20fa1903560ab6f75d025a3e9e29954a5705a8e3
[INFO] running `"docker" "start" "-a" "d157907bbf0458ae7770938b20fa1903560ab6f75d025a3e9e29954a5705a8e3"`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling bytes v0.5.3
[INFO] [stderr]    Compiling futures-core v0.3.1
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling pin-project-lite v0.1.1
[INFO] [stderr]    Compiling futures-task v0.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.1
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling ascii v0.9.3
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling time v0.2.0
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling futures-channel v0.3.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling tokio-executor v0.1.9
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling combine v3.8.1
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-complex v0.1.43
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling buf_redux v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling num-bigint v0.1.44
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio v0.2.6
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling tokio-reactor v0.1.11
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling iron v0.6.1
[INFO] [stderr]    Compiling multipart v0.13.6
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling persistent v0.4.0
[INFO] [stderr]    Compiling router v0.6.0
[INFO] [stderr]    Compiling bodyparser v0.8.0
[INFO] [stderr]    Compiling urlencoded v0.6.0
[INFO] [stderr]    Compiling params v0.8.0
[INFO] [stderr]    Compiling redis v0.13.0
[INFO] [stderr]    Compiling pin-project v0.4.6
[INFO] [stderr]    Compiling hyper v0.13.1
[INFO] [stderr]    Compiling data_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:38:18
[INFO] [stderr]    |
[INFO] [stderr] 38 |     let client = try!(redis::Client::open("redis://127.0.0.1:6379"));
[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:39:15
[INFO] [stderr]    |
[INFO] [stderr] 39 |     let con = try!(client.get_connection());
[INFO] [stderr]    |               ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:42:23
[INFO] [stderr]    |
[INFO] [stderr] 42 |             *ticker = try!(con.get("ticker_btccny"));
[INFO] [stderr]    |                       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:45:23
[INFO] [stderr]    |
[INFO] [stderr] 45 |             *ticker = try!(con.get("ticker_ltccny"));
[INFO] [stderr]    |                       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:48:23
[INFO] [stderr]    |
[INFO] [stderr] 48 |             *ticker = try!(con.get("ticker_ltcbtc"));
[INFO] [stderr]    |                       ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:51:42
[INFO] [stderr]    |
[INFO] [stderr] 51 |             let ticker_btccny : String = try!(con.get("ticker_btccny"));
[INFO] [stderr]    |                                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:52:42
[INFO] [stderr]    |
[INFO] [stderr] 52 |             let ticker_ltccny : String = try!(con.get("ticker_ltccny"));
[INFO] [stderr]    |                                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:53:42
[INFO] [stderr]    |
[INFO] [stderr] 53 |             let ticker_ltcbtc : String = try!(con.get("ticker_ltcbtc"));
[INFO] [stderr]    |                                          ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use time::precise_time_ns;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:24:47
[INFO] [stderr]    |
[INFO] [stderr] 24 |         req.extensions.insert::<ResponseTime>(precise_time_ns());
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'time::precise_time_ns': Use `PrimitiveDateTime::now() - PrimitiveDateTime::unix_epoch()` to get a `Duration` since a known epoch.
[INFO] [stderr]   --> src/main.rs:31:21
[INFO] [stderr]    |
[INFO] [stderr] 31 |         let delta = precise_time_ns() - *req.extensions.get::<ResponseTime>().unwrap();
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_right_matches': superseded by `trim_end_matches`
[INFO] [stderr]   --> src/main.rs:55:66
[INFO] [stderr]    |
[INFO] [stderr] 55 |                 ticker_btccny.replace("ticker", "ticker_btccny").trim_right_matches('}'), "}",
[INFO] [stderr]    |                                                                  ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_right_matches': superseded by `trim_end_matches`
[INFO] [stderr]   --> src/main.rs:56:66
[INFO] [stderr]    |
[INFO] [stderr] 56 |                 ticker_ltccny.replace("ticker", "ticker_ltccny").trim_right_matches('}').trim_left_matches('{'), "}",
[INFO] [stderr]    |                                                                  ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_left_matches': superseded by `trim_start_matches`
[INFO] [stderr]   --> src/main.rs:56:90
[INFO] [stderr]    |
[INFO] [stderr] 56 |                 ticker_ltccny.replace("ticker", "ticker_ltccny").trim_right_matches('}').trim_left_matches('{'), "}",
[INFO] [stderr]    |                                                                                          ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_right_matches': superseded by `trim_end_matches`
[INFO] [stderr]   --> src/main.rs:57:66
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 ticker_ltcbtc.replace("ticker", "ticker_ltcbtc").trim_right_matches('}').trim_left_matches('{'), "}", "}");
[INFO] [stderr]    |                                                                  ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_left_matches': superseded by `trim_start_matches`
[INFO] [stderr]   --> src/main.rs:57:90
[INFO] [stderr]    |
[INFO] [stderr] 57 |                 ticker_ltcbtc.replace("ticker", "ticker_ltcbtc").trim_right_matches('}').trim_left_matches('{'), "}", "}");
[INFO] [stderr]    |                                                                                          ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] error[E0061]: this function takes 3 parameters but 2 parameters were supplied
[INFO] [stderr]   --> src/main.rs:92:12
[INFO] [stderr]    |
[INFO] [stderr] 92 |     router.get("/ticker", move |r: &mut Request| fetch_ticker(r));
[INFO] [stderr]    |            ^^^ expected 3 parameters
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0061`.
[INFO] [stderr] error: could not compile `data_api`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "d157907bbf0458ae7770938b20fa1903560ab6f75d025a3e9e29954a5705a8e3"`
[INFO] running `"docker" "rm" "-f" "d157907bbf0458ae7770938b20fa1903560ab6f75d025a3e9e29954a5705a8e3"`
[INFO] [stdout] d157907bbf0458ae7770938b20fa1903560ab6f75d025a3e9e29954a5705a8e3
