[INFO] cloning repository https://github.com/eckelon/HelloRustApi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eckelon/HelloRustApi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feckelon%2FHelloRustApi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feckelon%2FHelloRustApi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a0a0b37cfcf8f315845d07a6ad74e884be0d5d9 [INFO] testing eckelon/HelloRustApi against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feckelon%2FHelloRustApi" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eckelon/HelloRustApi on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eckelon/HelloRustApi [INFO] finished tweaking git repo https://github.com/eckelon/HelloRustApi [INFO] tweaked toml for git repo https://github.com/eckelon/HelloRustApi written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c8f0cae88d756c9730b655980b0121a97efda42cb123247c651dd8a03aaa162 [INFO] running `Command { std: "docker" "start" "-a" "3c8f0cae88d756c9730b655980b0121a97efda42cb123247c651dd8a03aaa162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c8f0cae88d756c9730b655980b0121a97efda42cb123247c651dd8a03aaa162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8f0cae88d756c9730b655980b0121a97efda42cb123247c651dd8a03aaa162", kill_on_drop: false }` [INFO] [stdout] 3c8f0cae88d756c9730b655980b0121a97efda42cb123247c651dd8a03aaa162 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9187229600f27a33a64a3857e0cdbd2d942a6c59ef245dde1e9e047237e6133f [INFO] running `Command { std: "docker" "start" "-a" "9187229600f27a33a64a3857e0cdbd2d942a6c59ef245dde1e9e047237e6133f", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling nanoserde-derive v0.1.18 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nanoserde v0.1.28 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling hello-rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/person.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(name: String, age: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "9187229600f27a33a64a3857e0cdbd2d942a6c59ef245dde1e9e047237e6133f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9187229600f27a33a64a3857e0cdbd2d942a6c59ef245dde1e9e047237e6133f", kill_on_drop: false }` [INFO] [stdout] 9187229600f27a33a64a3857e0cdbd2d942a6c59ef245dde1e9e047237e6133f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ea9fa29d676d623b5d58864b1d5697b813a82deea46a0d2e4684e9ef887158e [INFO] running `Command { std: "docker" "start" "-a" "9ea9fa29d676d623b5d58864b1d5697b813a82deea46a0d2e4684e9ef887158e", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling hello-rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.61s [INFO] running `Command { std: "docker" "inspect" "9ea9fa29d676d623b5d58864b1d5697b813a82deea46a0d2e4684e9ef887158e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea9fa29d676d623b5d58864b1d5697b813a82deea46a0d2e4684e9ef887158e", kill_on_drop: false }` [INFO] [stdout] 9ea9fa29d676d623b5d58864b1d5697b813a82deea46a0d2e4684e9ef887158e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12ad8451645874e8ce48814e16cc013fb9b2cd3a0a404cc2b15b234f1734626a [INFO] running `Command { std: "docker" "start" "-a" "12ad8451645874e8ce48814e16cc013fb9b2cd3a0a404cc2b15b234f1734626a", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hello_rust_api-0fe06400832de690) [INFO] [stdout] running 9 tests [INFO] [stdout] test config::tests::test_config_default_port ... ok [INFO] [stdout] test models::person::tests::it_creates_a_new_person ... ok [INFO] [stdout] test dao::people::tests::test_get_people_with_wrong_mock_data ... ok [INFO] [stdout] test dao::people::tests::test_get_people_with_successful_mock_data ... ok [INFO] [stdout] test config::tests::test_config_customized_port ... ok [INFO] [stdout] test models::person::tests::it_creates_a_person_struct ... ok [INFO] [stdout] test models::person::tests::it_serializes_a_person ... ok [INFO] [stdout] test dao::people::tests::test_get_people_with_default_mock_data ... ok [INFO] [stdout] test models::person::tests::it_deserializes_a_person ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12ad8451645874e8ce48814e16cc013fb9b2cd3a0a404cc2b15b234f1734626a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ad8451645874e8ce48814e16cc013fb9b2cd3a0a404cc2b15b234f1734626a", kill_on_drop: false }` [INFO] [stdout] 12ad8451645874e8ce48814e16cc013fb9b2cd3a0a404cc2b15b234f1734626a