[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flawliet89%2Fdocker-image" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lawliet89/docker-image on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-0/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.9 [INFO] [stderr] Downloaded serde v1.0.9 [INFO] [stderr] Downloaded clap v2.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09a1ba2aba6110836252a6eeb71a7a777a36a71ec1c392fc0e75c609dc35e466 [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" "09a1ba2aba6110836252a6eeb71a7a777a36a71ec1c392fc0e75c609dc35e466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09a1ba2aba6110836252a6eeb71a7a777a36a71ec1c392fc0e75c609dc35e466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a1ba2aba6110836252a6eeb71a7a777a36a71ec1c392fc0e75c609dc35e466", kill_on_drop: false }` [INFO] [stdout] 09a1ba2aba6110836252a6eeb71a7a777a36a71ec1c392fc0e75c609dc35e466 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c87f8d1b212d54808c360b7bdb2b78b416ee5b6fe47289cc6626b99ea5c31ffb [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" "c87f8d1b212d54808c360b7bdb2b78b416ee5b6fe47289cc6626b99ea5c31ffb", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.9 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [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 6.52s [INFO] running `Command { std: "docker" "inspect" "c87f8d1b212d54808c360b7bdb2b78b416ee5b6fe47289cc6626b99ea5c31ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87f8d1b212d54808c360b7bdb2b78b416ee5b6fe47289cc6626b99ea5c31ffb", kill_on_drop: false }` [INFO] [stdout] c87f8d1b212d54808c360b7bdb2b78b416ee5b6fe47289cc6626b99ea5c31ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba0b2944af03c2cdb4239622c6c12d7b280ab66c14a45a8f07aad5cc28966af7 [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" "ba0b2944af03c2cdb4239622c6c12d7b280ab66c14a45a8f07aad5cc28966af7", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.76s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ba0b2944af03c2cdb4239622c6c12d7b280ab66c14a45a8f07aad5cc28966af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0b2944af03c2cdb4239622c6c12d7b280ab66c14a45a8f07aad5cc28966af7", kill_on_drop: false }` [INFO] [stdout] ba0b2944af03c2cdb4239622c6c12d7b280ab66c14a45a8f07aad5cc28966af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8805dbc67187c922306072a7ff5ded3581833051e7dfcebbb4f6e8092d1bbc9 [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" "f8805dbc67187c922306072a7ff5ded3581833051e7dfcebbb4f6e8092d1bbc9", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] running 3 tests [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: 2 warnings emitted [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: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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/docker_image-846a111687025ab7) [INFO] [stdout] test tests::parse_image_without_hostname_and_tag ... ok [INFO] [stderr] Doc-tests docker_image [INFO] [stdout] test tests::parse_image_without_hostname ... ok [INFO] [stdout] test tests::full_image_name_parsing ... 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.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f8805dbc67187c922306072a7ff5ded3581833051e7dfcebbb4f6e8092d1bbc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8805dbc67187c922306072a7ff5ded3581833051e7dfcebbb4f6e8092d1bbc9", kill_on_drop: false }` [INFO] [stdout] f8805dbc67187c922306072a7ff5ded3581833051e7dfcebbb4f6e8092d1bbc9