[INFO] crate grin_api 0.4.2 is already in cache [INFO] extracting crate grin_api 0.4.2 into work/ex/pr-59527/sources/master#003382e4150984cb476047b3925edf8d75df2d59/reg/grin_api/0.4.2 [INFO] extracting crate grin_api 0.4.2 into work/ex/pr-59527/sources/try#47f4f94676fbdd494dd2c2dc9ac377a13fc78e00/reg/grin_api/0.4.2 [INFO] validating manifest of grin_api-0.4.2 on toolchain master#003382e4150984cb476047b3925edf8d75df2d59 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+003382e4150984cb476047b3925edf8d75df2d59-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of grin_api-0.4.2 on toolchain try#47f4f94676fbdd494dd2c2dc9ac377a13fc78e00 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+47f4f94676fbdd494dd2c2dc9ac377a13fc78e00-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing grin_api-0.4.2 [INFO] finished frobbing grin_api-0.4.2 [INFO] frobbed toml for grin_api-0.4.2 written to work/ex/pr-59527/sources/master#003382e4150984cb476047b3925edf8d75df2d59/reg/grin_api/0.4.2/Cargo.toml [INFO] started frobbing grin_api-0.4.2 [INFO] finished frobbing grin_api-0.4.2 [INFO] frobbed toml for grin_api-0.4.2 written to work/ex/pr-59527/sources/try#47f4f94676fbdd494dd2c2dc9ac377a13fc78e00/reg/grin_api/0.4.2/Cargo.toml [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+003382e4150984cb476047b3925edf8d75df2d59-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+47f4f94676fbdd494dd2c2dc9ac377a13fc78e00-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+003382e4150984cb476047b3925edf8d75df2d59-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+47f4f94676fbdd494dd2c2dc9ac377a13fc78e00-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking grin_api-0.4.2 against master#003382e4150984cb476047b3925edf8d75df2d59 for pr-59527 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59527/worker-3/master#003382e4150984cb476047b3925edf8d75df2d59:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59527/sources/master#003382e4150984cb476047b3925edf8d75df2d59/reg/grin_api/0.4.2:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+003382e4150984cb476047b3925edf8d75df2d59-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 26aad6466670db6a6443be7b762730ca48319520b218723a9e0bb1ec36e8df0e [INFO] running `"docker" "start" "-a" "26aad6466670db6a6443be7b762730ca48319520b218723a9e0bb1ec36e8df0e"` [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking grin_p2p v0.4.2 [INFO] [stderr] Checking grin_chain v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-threadpool v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking h2 v0.1.17 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.18 [INFO] [stderr] Checking hyper v0.12.25 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-rustls v0.7.2 [INFO] [stderr] Checking hyper-rustls v0.14.0 [INFO] [stderr] Checking grin_api v0.4.2 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/blocks_api.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/blocks_api.rs:133:35 [INFO] [stderr] | [INFO] [stderr] 133 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/blocks_api.rs:71:35 [INFO] [stderr] | [INFO] [stderr] 71 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/blocks_api.rs:133:35 [INFO] [stderr] | [INFO] [stderr] 133 | let el = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/chain_api.rs:226:40 [INFO] [stderr] | [INFO] [stderr] 226 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/peers_api.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/peers_api.rs:76:41 [INFO] [stderr] | [INFO] [stderr] 76 | let mut path_elems = req.uri().path().trim_right_matches("/").rsplit("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/chain_api.rs:226:40 [INFO] [stderr] | [INFO] [stderr] 226 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/peers_api.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | let command = match req.uri().path().trim_right_matches("/").rsplit("/").next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/peers_api.rs:76:41 [INFO] [stderr] | [INFO] [stderr] 76 | let mut path_elems = req.uri().path().trim_right_matches("/").rsplit("/"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/handlers/transactions_api.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | .trim_right() [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/transactions_api.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | .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 'failure::core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/handlers/transactions_api.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | .trim_right() [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'failure::core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/handlers/transactions_api.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | .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 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stderr] --> tests/rest.rs:8:48 [INFO] [stderr] | [INFO] [stderr] 8 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred [INFO] [stderr] --> tests/rest.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | counter: ATOMIC_USIZE_INIT, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.47s [INFO] running `"docker" "inspect" "26aad6466670db6a6443be7b762730ca48319520b218723a9e0bb1ec36e8df0e"` [INFO] running `"docker" "rm" "-f" "26aad6466670db6a6443be7b762730ca48319520b218723a9e0bb1ec36e8df0e"` [INFO] [stdout] 26aad6466670db6a6443be7b762730ca48319520b218723a9e0bb1ec36e8df0e