[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#d117135f5a9b69ee3adfb1918aa25616758bf692 for pr-107251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feckelon%2FHelloRustApi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eckelon/HelloRustApi on toolchain d117135f5a9b69ee3adfb1918aa25616758bf692 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nanoserde v0.1.32 [INFO] [stderr] Downloaded nanoserde-derive v0.1.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 134c4fae450631d81eb565eeb5056687f71d6043d2a97c266c681efbbe5eaab5 [INFO] running `Command { std: "docker" "start" "-a" "134c4fae450631d81eb565eeb5056687f71d6043d2a97c266c681efbbe5eaab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "134c4fae450631d81eb565eeb5056687f71d6043d2a97c266c681efbbe5eaab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134c4fae450631d81eb565eeb5056687f71d6043d2a97c266c681efbbe5eaab5", kill_on_drop: false }` [INFO] [stdout] 134c4fae450631d81eb565eeb5056687f71d6043d2a97c266c681efbbe5eaab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9d466fefcfec5b1bd2e7dc28406fe315261bbac0b894b62c75041cf48c9cd96 [INFO] running `Command { std: "docker" "start" "-a" "a9d466fefcfec5b1bd2e7dc28406fe315261bbac0b894b62c75041cf48c9cd96", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nanoserde-derive v0.1.19 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling nanoserde v0.1.32 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling tokio-tungstenite v0.17.2 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling warp v0.3.3 [INFO] [stderr] Compiling hello-rust-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [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 38.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "a9d466fefcfec5b1bd2e7dc28406fe315261bbac0b894b62c75041cf48c9cd96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d466fefcfec5b1bd2e7dc28406fe315261bbac0b894b62c75041cf48c9cd96", kill_on_drop: false }` [INFO] [stdout] a9d466fefcfec5b1bd2e7dc28406fe315261bbac0b894b62c75041cf48c9cd96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6e64c117528bb0b0ff8225445267f86e135385d2d38609b31e560aa77401b1b [INFO] running `Command { std: "docker" "start" "-a" "c6e64c117528bb0b0ff8225445267f86e135385d2d38609b31e560aa77401b1b", 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 1.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "c6e64c117528bb0b0ff8225445267f86e135385d2d38609b31e560aa77401b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e64c117528bb0b0ff8225445267f86e135385d2d38609b31e560aa77401b1b", kill_on_drop: false }` [INFO] [stdout] c6e64c117528bb0b0ff8225445267f86e135385d2d38609b31e560aa77401b1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e43727385bd5c5cda8fe12f199504375730c6870185d8d9bbecc5d05388b6ab [INFO] running `Command { std: "docker" "start" "-a" "1e43727385bd5c5cda8fe12f199504375730c6870185d8d9bbecc5d05388b6ab", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_rust_api-88cf532fbd25d339) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test config::tests::test_config_customized_port ... ok [INFO] [stdout] test config::tests::test_config_default_port ... ok [INFO] [stdout] test dao::people::tests::test_get_people_with_default_mock_data ... ok [INFO] [stdout] test dao::people::tests::test_get_people_with_successful_mock_data ... ok [INFO] [stdout] test dao::people::tests::test_get_people_with_wrong_mock_data ... ok [INFO] [stdout] test models::person::tests::it_creates_a_person_struct ... ok [INFO] [stdout] test models::person::tests::it_deserializes_a_person ... ok [INFO] [stdout] test models::person::tests::it_serializes_a_person ... ok [INFO] [stdout] test models::person::tests::it_creates_a_new_person ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e43727385bd5c5cda8fe12f199504375730c6870185d8d9bbecc5d05388b6ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e43727385bd5c5cda8fe12f199504375730c6870185d8d9bbecc5d05388b6ab", kill_on_drop: false }` [INFO] [stdout] 1e43727385bd5c5cda8fe12f199504375730c6870185d8d9bbecc5d05388b6ab