[INFO] cloning repository https://github.com/lawliet89/docker-image [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lawliet89/docker-image" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawliet89%2Fdocker-image", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawliet89%2Fdocker-image'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e3af50409959a162677dc48c0f034f3e755cc51 [INFO] testing lawliet89/docker-image against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawliet89%2Fdocker-image" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lawliet89/docker-image 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/lawliet89/docker-image [INFO] finished tweaking git repo https://github.com/lawliet89/docker-image [INFO] tweaked toml for git repo https://github.com/lawliet89/docker-image written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/lawliet89/docker-image 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] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.9 [INFO] [stderr] Downloaded libc v0.2.24 [INFO] [stderr] Downloaded serde_derive_internals v0.15.1 [INFO] [stderr] Downloaded unicode-segmentation v1.1.0 [INFO] [stderr] Downloaded num-traits v0.1.39 [INFO] [stderr] Downloaded serde_json v1.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.9 [INFO] [stderr] Downloaded clap v2.25.0 [INFO] [stderr] Downloaded textwrap v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 58bf2e2448fc94658f74faeffe285fa7e2dd5ca7465de9effc1ef9b754c1356b [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" "58bf2e2448fc94658f74faeffe285fa7e2dd5ca7465de9effc1ef9b754c1356b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58bf2e2448fc94658f74faeffe285fa7e2dd5ca7465de9effc1ef9b754c1356b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58bf2e2448fc94658f74faeffe285fa7e2dd5ca7465de9effc1ef9b754c1356b", kill_on_drop: false }` [INFO] [stdout] 58bf2e2448fc94658f74faeffe285fa7e2dd5ca7465de9effc1ef9b754c1356b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] ad4b099268fd9a320dff87c10dbcb88c2bcf4c975ef1c61e567cf9fb244258be [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" "ad4b099268fd9a320dff87c10dbcb88c2bcf4c975ef1c61e567cf9fb244258be", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.9 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.9 [INFO] [stderr] Compiling docker_image v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.32s [INFO] running `Command { std: "docker" "inspect" "ad4b099268fd9a320dff87c10dbcb88c2bcf4c975ef1c61e567cf9fb244258be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4b099268fd9a320dff87c10dbcb88c2bcf4c975ef1c61e567cf9fb244258be", kill_on_drop: false }` [INFO] [stdout] ad4b099268fd9a320dff87c10dbcb88c2bcf4c975ef1c61e567cf9fb244258be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 47fc60992edfd201205c5a790a557336294633bbaa5069dac7d25ca28e85ec30 [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" "47fc60992edfd201205c5a790a557336294633bbaa5069dac7d25ca28e85ec30", kill_on_drop: false }` [INFO] [stderr] Compiling docker_image v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "47fc60992edfd201205c5a790a557336294633bbaa5069dac7d25ca28e85ec30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47fc60992edfd201205c5a790a557336294633bbaa5069dac7d25ca28e85ec30", kill_on_drop: false }` [INFO] [stdout] 47fc60992edfd201205c5a790a557336294633bbaa5069dac7d25ca28e85ec30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stdout] 7d1f90dd87388ab6253e2d802121d9da12cee2d9f722d1712b400ca6d8d2b0ea [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" "7d1f90dd87388ab6253e2d802121d9da12cee2d9f722d1712b400ca6d8d2b0ea", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:66:32 [INFO] [stderr] | [INFO] [stderr] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/lib.rs:66:56 [INFO] [stderr] | [INFO] [stderr] 66 | Some(tag) => image.trim_right_matches(tag).trim_right_matches(':'), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: `docker_image` (lib) generated 2 warnings [INFO] [stderr] warning: `docker_image` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/docker_image-5da9aa1f2511caec) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::full_image_name_parsing ... ok [INFO] [stderr] Doc-tests docker_image [INFO] [stdout] test tests::parse_image_without_hostname_and_tag ... ok [INFO] [stdout] test tests::parse_image_without_hostname ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7d1f90dd87388ab6253e2d802121d9da12cee2d9f722d1712b400ca6d8d2b0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d1f90dd87388ab6253e2d802121d9da12cee2d9f722d1712b400ca6d8d2b0ea", kill_on_drop: false }` [INFO] [stdout] 7d1f90dd87388ab6253e2d802121d9da12cee2d9f722d1712b400ca6d8d2b0ea