[INFO] updating cached repository https://github.com/nmrshll-katas/ps_api_rs [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] 3adbf82683f3c3f7f9ac2d1361f5b4c1129da7ea [INFO] testing nmrshll-katas/ps_api_rs against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnmrshll-katas%2Fps_api_rs" "/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/nmrshll-katas/ps_api_rs on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/nmrshll-katas/ps_api_rs [INFO] finished tweaking git repo https://github.com/nmrshll-katas/ps_api_rs [INFO] tweaked toml for git repo https://github.com/nmrshll-katas/ps_api_rs written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/nmrshll-katas/ps_api_rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 062cc74409cf8a1f03f8144221325ac9b8ad8ce39c8bbdfcd3e8f37e231f549e [INFO] running `"docker" "start" "-a" "062cc74409cf8a1f03f8144221325ac9b8ad8ce39c8bbdfcd3e8f37e231f549e"` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling mio v0.6.17 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.20 [INFO] [stderr] Compiling sysinfo v0.8.4 [INFO] [stderr] Compiling h2 v0.1.20 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling hyper v0.12.29 [INFO] [stderr] Compiling ps_api_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: method is never used: `getProcsHist` [INFO] [stderr] --> src/shared_state.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn getProcsHist(&self) -> VecDeque> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `"docker" "inspect" "062cc74409cf8a1f03f8144221325ac9b8ad8ce39c8bbdfcd3e8f37e231f549e"` [INFO] running `"docker" "rm" "-f" "062cc74409cf8a1f03f8144221325ac9b8ad8ce39c8bbdfcd3e8f37e231f549e"` [INFO] [stdout] 062cc74409cf8a1f03f8144221325ac9b8ad8ce39c8bbdfcd3e8f37e231f549e [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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 41dbc7a5dff693927ceba5d677886f3688badf1c01c4ac8c7ca40e646fb5d4a8 [INFO] running `"docker" "start" "-a" "41dbc7a5dff693927ceba5d677886f3688badf1c01c4ac8c7ca40e646fb5d4a8"` [INFO] [stderr] Compiling ps_api_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.88s [INFO] running `"docker" "inspect" "41dbc7a5dff693927ceba5d677886f3688badf1c01c4ac8c7ca40e646fb5d4a8"` [INFO] running `"docker" "rm" "-f" "41dbc7a5dff693927ceba5d677886f3688badf1c01c4ac8c7ca40e646fb5d4a8"` [INFO] [stdout] 41dbc7a5dff693927ceba5d677886f3688badf1c01c4ac8c7ca40e646fb5d4a8 [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=forbid" "-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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bdbf6d9f47666c1c2b8f84c461945e2124817e3a733fcaee7b81c9acaee44d48 [INFO] running `"docker" "start" "-a" "bdbf6d9f47666c1c2b8f84c461945e2124817e3a733fcaee7b81c9acaee44d48"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/ps_api_rs-775d77e061a89473 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] running server on 0.0.0.0:3000 [INFO] [stderr] thread '' panicked at 'error binding to 0.0.0.0:3000: error creating server listener: Address already in use (os error 98)', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.29/src/server/mod.rs:115:17 [INFO] [stderr] stack backtrace: [INFO] [stdout] test api::tests::test_GET_proc_indexby_owner ... ok [INFO] [stdout] test api::tests::test_404 ... ok [INFO] [stderr] 0: 0x55b0afdb9464 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x55b0afdb9464 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x55b0afdb9464 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x55b0afdb9464 - ::fmt::h4d51ef07ce58e54b [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x55b0afde55fc - core::fmt::write::he16b9c1345d8565e [INFO] [stderr] at src/libcore/fmt/mod.rs:1069 [INFO] [stderr] 5: 0x55b0afdb2093 - std::io::Write::write_fmt::h35d873b9ce1f02a8 [INFO] [stderr] at src/libstd/io/mod.rs:1504 [INFO] [stderr] 6: 0x55b0afdbbd45 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x55b0afdbbd45 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x55b0afdbbd45 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x55b0afdbba82 - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stderr] at src/libstd/panicking.rs:218 [INFO] [stderr] 10: 0x55b0afdbc3a2 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stderr] at src/libstd/panicking.rs:511 [INFO] [stderr] 11: 0x55b0afdbbf8b - rust_begin_unwind [INFO] [stderr] at src/libstd/panicking.rs:419 [INFO] [stderr] 12: 0x55b0afdbbefb - std::panicking::begin_panic_fmt::hf14ab99546f1bbc1 [INFO] [stderr] at src/libstd/panicking.rs:373 [INFO] [stderr] 13: 0x55b0afb3d949 - hyper::server::Server::bind::{{closure}}::h3f2aeeb01184d6c7 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.29/src/server/mod.rs:115 [INFO] [stderr] 14: 0x55b0afb30668 - core::result::Result::unwrap_or_else::h38cdc903d90ba2fc [INFO] [stderr] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/result.rs:853 [INFO] [stderr] 15: 0x55b0afb3d7cb - hyper::server::Server::bind::h400627942805161e [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.29/src/server/mod.rs:113 [INFO] [stderr] 16: 0x55b0af92d688 - ps_api_rs::api::start_server::h6661cce97e0c4ed2 [INFO] [stderr] at src/api.rs:32 [INFO] [stderr] 17: 0x55b0af9d58b0 - ps_api_rs::api::tests::test_GET_proc_indexby_owner::{{closure}}::hbb019c09652ac71d [INFO] [stderr] at src/api.rs:54 [INFO] [stderr] 18: 0x55b0af917b8a - std::sys_common::backtrace::__rust_begin_short_backtrace::hab4bbb3904277d3a [INFO] [stderr] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] test shared_state::tests::test_SharedProcsState ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "bdbf6d9f47666c1c2b8f84c461945e2124817e3a733fcaee7b81c9acaee44d48"` [INFO] running `"docker" "rm" "-f" "bdbf6d9f47666c1c2b8f84c461945e2124817e3a733fcaee7b81c9acaee44d48"` [INFO] [stdout] bdbf6d9f47666c1c2b8f84c461945e2124817e3a733fcaee7b81c9acaee44d48