[INFO] fetching crate lib-porcelain 0.2.2... [INFO] testing lib-porcelain-0.2.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate lib-porcelain 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate lib-porcelain 0.2.2 [INFO] finished tweaking crates.io crate lib-porcelain 0.2.2 [INFO] tweaked toml for crates.io crate lib-porcelain 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lib-porcelain 0.2.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lib-porcelain 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d09a2622e9ae350cbd3348b02b98ca33f81c59352accbbd53a2290eade1005f8 [INFO] running `Command { std: "docker" "start" "-a" "d09a2622e9ae350cbd3348b02b98ca33f81c59352accbbd53a2290eade1005f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d09a2622e9ae350cbd3348b02b98ca33f81c59352accbbd53a2290eade1005f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09a2622e9ae350cbd3348b02b98ca33f81c59352accbbd53a2290eade1005f8", kill_on_drop: false }` [INFO] [stdout] d09a2622e9ae350cbd3348b02b98ca33f81c59352accbbd53a2290eade1005f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be7005a3f150e7400c16e9c94f231f05e3bbdfb190da4dc5e7b7cbaf611aa386 [INFO] running `Command { std: "docker" "start" "-a" "be7005a3f150e7400c16e9c94f231f05e3bbdfb190da4dc5e7b7cbaf611aa386", kill_on_drop: false }` [INFO] [stderr] Compiling lib-porcelain v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "be7005a3f150e7400c16e9c94f231f05e3bbdfb190da4dc5e7b7cbaf611aa386", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be7005a3f150e7400c16e9c94f231f05e3bbdfb190da4dc5e7b7cbaf611aa386", kill_on_drop: false }` [INFO] [stdout] be7005a3f150e7400c16e9c94f231f05e3bbdfb190da4dc5e7b7cbaf611aa386 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5d8b0bfca149c035cb720aa39a1234b79401510279e7688ee62c394c8c858da [INFO] running `Command { std: "docker" "start" "-a" "b5d8b0bfca149c035cb720aa39a1234b79401510279e7688ee62c394c8c858da", kill_on_drop: false }` [INFO] [stderr] Compiling lib-porcelain v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `tests` is defined multiple times [INFO] [stdout] --> src/lib.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 94 | mod tests { [INFO] [stdout] | --------- previous definition of the module `tests` here [INFO] [stdout] ... [INFO] [stdout] 223 | mod tests { [INFO] [stdout] | ^^^^^^^^^ `tests` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `tests` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | use crate::{dollcode_decode, dollcode_encode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | use crate::{dollcode_decode, dollcode_encode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | assert_eq!(dollcode_encode(0), ""); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | assert_eq!(dollcode_encode(1), "▖"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | assert_eq!(dollcode_encode(2), "▘"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(dollcode_encode(3), "▌"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | assert_eq!(dollcode_encode(4), "▖▖"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:233:20 [INFO] [stdout] | [INFO] [stdout] 233 | assert_eq!(dollcode_encode(13), "▖▖▖"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | assert_eq!(dollcode_encode(440729), "▖▌▌▌▌▖▖▖▘▌▘▘"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | assert_eq!(dollcode_encode(893271), "▖▖▘▘▌▘▌▌▘▘▘▌▌"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_encode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | dollcode_encode(u64::MAX), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(dollcode_decode("invalid"), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 245 | assert_eq!(dollcode_decode("▖▌▌▌▌▖▖▖▘invalid"), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | assert_eq!(dollcode_decode(""), Some(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:247:20 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!(dollcode_decode("▖"), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | assert_eq!(dollcode_decode("▘"), Some(2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | assert_eq!(dollcode_decode("▌"), Some(3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(dollcode_decode("▖▖"), Some(4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | assert_eq!(dollcode_decode("▖▖▖"), Some(13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | assert_eq!(dollcode_decode("▖▌▌▌▌▖▖▖▘▌▘▘"), Some(440729)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(dollcode_decode("▖▖▘▘▌▘▌▌▘▘▘▌▌"), Some(893271)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `dollcode_decode`: please use the `Dollcode` trait instead [INFO] [stdout] --> src/lib.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | dollcode_decode("▖▖▖▖▘▘▖▘▌▘▘▖▘▘▖▖▘▌▌▖▖▌▌▌▖▌▖▖▌▖▌▌▖▌▌▘▖▖▘▖▌"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-porcelain` (lib test) due to 1 previous error; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b5d8b0bfca149c035cb720aa39a1234b79401510279e7688ee62c394c8c858da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d8b0bfca149c035cb720aa39a1234b79401510279e7688ee62c394c8c858da", kill_on_drop: false }` [INFO] [stdout] b5d8b0bfca149c035cb720aa39a1234b79401510279e7688ee62c394c8c858da