[INFO] cloning repository https://github.com/GustavoKatel/devcontainers-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GustavoKatel/devcontainers-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGustavoKatel%2Fdevcontainers-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGustavoKatel%2Fdevcontainers-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87b8f6b5b64c20b64f76c5669e16314bcb1e75a3 [INFO] testing GustavoKatel/devcontainers-rs against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGustavoKatel%2Fdevcontainers-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GustavoKatel/devcontainers-rs on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GustavoKatel/devcontainers-rs [INFO] finished tweaking git repo https://github.com/GustavoKatel/devcontainers-rs [INFO] tweaked toml for git repo https://github.com/GustavoKatel/devcontainers-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/GustavoKatel/devcontainers-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 314312053fcbf9169b201389e5c200af419623757cc0e3c12075a35f9fedaf05 [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" "314312053fcbf9169b201389e5c200af419623757cc0e3c12075a35f9fedaf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "314312053fcbf9169b201389e5c200af419623757cc0e3c12075a35f9fedaf05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "314312053fcbf9169b201389e5c200af419623757cc0e3c12075a35f9fedaf05", kill_on_drop: false }` [INFO] [stdout] 314312053fcbf9169b201389e5c200af419623757cc0e3c12075a35f9fedaf05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da41fda9c113c576520f057442436ef4eb519519b846a82a33a461b20c9ac0b [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" "3da41fda9c113c576520f057442436ef4eb519519b846a82a33a461b20c9ac0b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling ct-logs v0.7.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling env_logger v0.8.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.4.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling serde_with_macros v1.2.2 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.6 [INFO] [stderr] Compiling futures v0.3.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_with v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling json5 v0.2.8 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling bollard-stubs v1.40.6 [INFO] [stderr] Compiling hyper-unix-connector v0.1.5 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling bollard v0.8.0 [INFO] [stderr] Compiling devcontainers-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserializer`, `de` [INFO] [stdout] --> src/settings.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de, Deserialize, Deserializer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExecCommand` [INFO] [stdout] --> src/errors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ExecCommand(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "3da41fda9c113c576520f057442436ef4eb519519b846a82a33a461b20c9ac0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da41fda9c113c576520f057442436ef4eb519519b846a82a33a461b20c9ac0b", kill_on_drop: false }` [INFO] [stdout] 3da41fda9c113c576520f057442436ef4eb519519b846a82a33a461b20c9ac0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", 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] ec6941f0f34dda936b0df3fa669a11bf8dabdb619ebf7b38b7fc9ba222ba0008 [INFO] running `Command { std: "docker" "start" "-a" "ec6941f0f34dda936b0df3fa669a11bf8dabdb619ebf7b38b7fc9ba222ba0008", kill_on_drop: false }` [INFO] [stderr] Compiling devcontainers-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserializer`, `de` [INFO] [stdout] --> src/settings.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de, Deserialize, Deserializer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExecCommand` [INFO] [stdout] --> src/errors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | ExecCommand(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.80s [INFO] running `Command { std: "docker" "inspect" "ec6941f0f34dda936b0df3fa669a11bf8dabdb619ebf7b38b7fc9ba222ba0008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6941f0f34dda936b0df3fa669a11bf8dabdb619ebf7b38b7fc9ba222ba0008", kill_on_drop: false }` [INFO] [stdout] ec6941f0f34dda936b0df3fa669a11bf8dabdb619ebf7b38b7fc9ba222ba0008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "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] ce8d390318007dd3219f5a47b0b55faef5d89048f02d8d25ec0fbb1dee0c58ea [INFO] running `Command { std: "docker" "start" "-a" "ce8d390318007dd3219f5a47b0b55faef5d89048f02d8d25ec0fbb1dee0c58ea", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Deserializer`, `de` [INFO] [stderr] --> src/settings.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::{de, Deserialize, Deserializer}; [INFO] [stderr] | ^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ExecCommand` [INFO] [stderr] --> src/errors.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | ExecCommand(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `devcontainers-rs` (bin "devcontainers-rs" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/devcontainers_rs-0a0e2dd47cff19e9) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test mount_from_str_tests::test_from_comma ... ok [INFO] [stdout] test project_tests::test_new ... ok [INFO] [stdout] test project_tests::test_validate_invalid ... ok [INFO] [stdout] test project_tests::test_validate_valid ... ok [INFO] [stdout] test devcontainer_tests::test_invalid_docker_compose_arr - should panic ... ok [INFO] [stdout] test devcontainer_tests::test_no_valid_source - should panic ... ok [INFO] [stdout] test devcontainer_tests::test_invalid_docker_compose - should panic ... ok [INFO] [stdout] test devcontainer_tests::test_invalid_docker_compose_service_empty_string - should panic ... ok [INFO] [stdout] test devcontainer_tests::test_invalid_image - should panic ... ok [INFO] [stdout] test project_tests::test_validate_does_not_exist - should panic ... ok [INFO] [stdout] test devcontainer_tests::test_multiple_sources - should panic ... ok [INFO] [stdout] test devcontainer_tests::test_invalid_docker_compose_service - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce8d390318007dd3219f5a47b0b55faef5d89048f02d8d25ec0fbb1dee0c58ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce8d390318007dd3219f5a47b0b55faef5d89048f02d8d25ec0fbb1dee0c58ea", kill_on_drop: false }` [INFO] [stdout] ce8d390318007dd3219f5a47b0b55faef5d89048f02d8d25ec0fbb1dee0c58ea