[INFO] cloning repository https://github.com/mia-platform-marketplace/rust-hello-world-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mia-platform-marketplace/rust-hello-world-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmia-platform-marketplace%2Frust-hello-world-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmia-platform-marketplace%2Frust-hello-world-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a1c117dfa609bbd5b9bf7669fb902249b052777 [INFO] testing mia-platform-marketplace/rust-hello-world-example against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmia-platform-marketplace%2Frust-hello-world-example" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mia-platform-marketplace/rust-hello-world-example on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mia-platform-marketplace/rust-hello-world-example [INFO] finished tweaking git repo https://github.com/mia-platform-marketplace/rust-hello-world-example [INFO] tweaked toml for git repo https://github.com/mia-platform-marketplace/rust-hello-world-example written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mia-platform-marketplace/rust-hello-world-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24d4538b9aef3c38aba222e8f4cecdef12268a120235e08187e88eaf10d1988e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "24d4538b9aef3c38aba222e8f4cecdef12268a120235e08187e88eaf10d1988e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24d4538b9aef3c38aba222e8f4cecdef12268a120235e08187e88eaf10d1988e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d4538b9aef3c38aba222e8f4cecdef12268a120235e08187e88eaf10d1988e", kill_on_drop: false }` [INFO] [stdout] 24d4538b9aef3c38aba222e8f4cecdef12268a120235e08187e88eaf10d1988e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec11f9d06d9347b2a04a5ee4aa25d769f09a820127e913473f92b6dcf963c762 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec11f9d06d9347b2a04a5ee4aa25d769f09a820127e913473f92b6dcf963c762", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling envconfig_derive v0.9.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling envconfig v0.9.1 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling struct2swagger v0.1.6 [INFO] [stderr] Compiling struct2swagger_derive v0.1.6 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling mia_template_service_name_placeholder v0.1.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `QueryDefinition` [INFO] [stdout] --> src/handlers.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use struct2swagger::{JsonSchemaDefinition, QueryDefinition, swagger_object::SwaggerObject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `envconfig::Envconfig::init`: Function init() is deprecated. Please use init_from_env() instead. [INFO] [stdout] --> src/main.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let config = Config::init().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "ec11f9d06d9347b2a04a5ee4aa25d769f09a820127e913473f92b6dcf963c762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec11f9d06d9347b2a04a5ee4aa25d769f09a820127e913473f92b6dcf963c762", kill_on_drop: false }` [INFO] [stdout] ec11f9d06d9347b2a04a5ee4aa25d769f09a820127e913473f92b6dcf963c762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f48394dbe68746742bc1f9a20b727d96258b1190a2e5b898a850a7a361f1f7ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f48394dbe68746742bc1f9a20b727d96258b1190a2e5b898a850a7a361f1f7ff", kill_on_drop: false }` [INFO] [stderr] Compiling mia_template_service_name_placeholder v0.1.2-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `QueryDefinition` [INFO] [stdout] --> src/handlers.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use struct2swagger::{JsonSchemaDefinition, QueryDefinition, swagger_object::SwaggerObject}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `envconfig::Envconfig::init`: Function init() is deprecated. Please use init_from_env() instead. [INFO] [stdout] --> src/main.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let config = Config::init().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.28s [INFO] running `Command { std: "docker" "inspect" "f48394dbe68746742bc1f9a20b727d96258b1190a2e5b898a850a7a361f1f7ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f48394dbe68746742bc1f9a20b727d96258b1190a2e5b898a850a7a361f1f7ff", kill_on_drop: false }` [INFO] [stdout] f48394dbe68746742bc1f9a20b727d96258b1190a2e5b898a850a7a361f1f7ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a18ce7f4786a0059ae43f7e0329fb685ca4063bc30c9a1178fe623765f1838d [INFO] running `Command { std: "docker" "start" "-a" "7a18ce7f4786a0059ae43f7e0329fb685ca4063bc30c9a1178fe623765f1838d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `QueryDefinition` [INFO] [stderr] --> src/handlers.rs:24:44 [INFO] [stderr] | [INFO] [stderr] 24 | use struct2swagger::{JsonSchemaDefinition, QueryDefinition, swagger_object::SwaggerObject}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `envconfig::Envconfig::init`: Function init() is deprecated. Please use init_from_env() instead. [INFO] [stderr] --> src/main.rs:56:26 [INFO] [stderr] | [INFO] [stderr] 56 | let config = Config::init().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mia_template_service_name_placeholder` (bin "mia_template_service_name_placeholder" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mia_template_service_name_placeholder-dc62fe0c760126b6) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test printer::tests::test_format_should_fallback_on_none ... ok [INFO] [stdout] test printer::tests::test_change_say_should_change_the_say ... ok [INFO] [stdout] test printer::tests::test_format_should_return_the_right_string ... ok [INFO] [stdout] test printer::tests::test_new_should_set_say_member ... ok [INFO] [stdout] test handlers::tests::test_is_up_ok ... ok [INFO] [stderr] [2022-02-28T18:10:57Z INFO actix_web::middleware::logger] - "GET / HTTP/1.1" 200 22 "-" "-" 0.000272 [INFO] [stderr] [2022-02-28T18:10:57Z INFO actix_web::middleware::logger] - "GET /?name=Tomm HTTP/1.1" 200 21 "-" "-" 0.000159 [INFO] [stderr] [2022-02-28T18:10:57Z INFO actix_web::middleware::logger] - "GET /?name=Tomm HTTP/1.1" 200 18 "-" "-" 0.000226 [INFO] [stderr] [2022-02-28T18:10:57Z INFO actix_web::middleware::logger] - "POST / HTTP/1.1" 200 0 "-" "-" 0.019020 [INFO] [stdout] test server::tests::test_flow ... ok [INFO] [stdout] test handlers::tests::test_is_up_ko ... ok [INFO] [stdout] test tests::test_start ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a18ce7f4786a0059ae43f7e0329fb685ca4063bc30c9a1178fe623765f1838d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a18ce7f4786a0059ae43f7e0329fb685ca4063bc30c9a1178fe623765f1838d", kill_on_drop: false }` [INFO] [stdout] 7a18ce7f4786a0059ae43f7e0329fb685ca4063bc30c9a1178fe623765f1838d