[INFO] fetching crate photo-captioner 0.1.3... [INFO] testing photo-captioner-0.1.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate photo-captioner 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate photo-captioner 0.1.3 [INFO] finished tweaking crates.io crate photo-captioner 0.1.3 [INFO] tweaked toml for crates.io crate photo-captioner 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate photo-captioner 0.1.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate photo-captioner 0.1.3 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 731f90f76f65ad800af377dad10531ef80e5f34fb999b2dd6f3cd2d25ea1043f [INFO] running `Command { std: "docker" "start" "-a" "731f90f76f65ad800af377dad10531ef80e5f34fb999b2dd6f3cd2d25ea1043f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "731f90f76f65ad800af377dad10531ef80e5f34fb999b2dd6f3cd2d25ea1043f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "731f90f76f65ad800af377dad10531ef80e5f34fb999b2dd6f3cd2d25ea1043f", kill_on_drop: false }` [INFO] [stdout] 731f90f76f65ad800af377dad10531ef80e5f34fb999b2dd6f3cd2d25ea1043f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2faf354aecf4217e49e2f5a6bd3226ded54bf7ee1e286f3aebc70d3d4478d4d6 [INFO] running `Command { std: "docker" "start" "-a" "2faf354aecf4217e49e2f5a6bd3226ded54bf7ee1e286f3aebc70d3d4478d4d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling array-macro v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Compiling structopt-derive v0.3.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling enum-map v0.6.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0 [INFO] [stderr] Compiling structopt v0.3.4 [INFO] [stderr] Compiling wasmer_enumset v1.0.1 [INFO] [stderr] Compiling cursive_core v0.2.2 [INFO] [stderr] Compiling cursive v0.16.3 [INFO] [stderr] Compiling photo-captioner v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | let image_file_name = String::from(record_ref.get_filename().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.66s [INFO] running `Command { std: "docker" "inspect" "2faf354aecf4217e49e2f5a6bd3226ded54bf7ee1e286f3aebc70d3d4478d4d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2faf354aecf4217e49e2f5a6bd3226ded54bf7ee1e286f3aebc70d3d4478d4d6", kill_on_drop: false }` [INFO] [stdout] 2faf354aecf4217e49e2f5a6bd3226ded54bf7ee1e286f3aebc70d3d4478d4d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5ec43df5f62e00bdb97901f5f7552b8f76586211c6f240c7691d246a1da04a2 [INFO] running `Command { std: "docker" "start" "-a" "e5ec43df5f62e00bdb97901f5f7552b8f76586211c6f240c7691d246a1da04a2", kill_on_drop: false }` [INFO] [stderr] Compiling photo-captioner v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | let image_file_name = String::from(record_ref.get_filename().clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "e5ec43df5f62e00bdb97901f5f7552b8f76586211c6f240c7691d246a1da04a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ec43df5f62e00bdb97901f5f7552b8f76586211c6f240c7691d246a1da04a2", kill_on_drop: false }` [INFO] [stdout] e5ec43df5f62e00bdb97901f5f7552b8f76586211c6f240c7691d246a1da04a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9898167c2449633ff0263768734ebad7065f3448003094d8964ab2656d890ac5 [INFO] running `Command { std: "docker" "start" "-a" "9898167c2449633ff0263768734ebad7065f3448003094d8964ab2656d890ac5", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] [INFO] [stderr] --> src/main.rs:237:65 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 237 | let image_file_name = String::from(record_ref.get_filename().clone()); [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `photo-captioner` (bin "photo-captioner" test) generated 1 warning (run `cargo fix --bin "photo-captioner" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/photo_captioner-42f0f81648bbbd51) [INFO] running `Command { std: "docker" "inspect" "9898167c2449633ff0263768734ebad7065f3448003094d8964ab2656d890ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9898167c2449633ff0263768734ebad7065f3448003094d8964ab2656d890ac5", kill_on_drop: false }` [INFO] [stdout] 9898167c2449633ff0263768734ebad7065f3448003094d8964ab2656d890ac5