[INFO] cloning repository https://github.com/jonnydee/recimage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonnydee/recimage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonnydee%2Frecimage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonnydee%2Frecimage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ef4dbc7cf1dfe7cf6d8e08ce287467d998a660f [INFO] checking jonnydee/recimage against try#15a786332e2f0dd343b226ab6bb8ec028a350f73 for pr-81782 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonnydee%2Frecimage" "/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/jonnydee/recimage on toolchain 15a786332e2f0dd343b226ab6bb8ec028a350f73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonnydee/recimage [INFO] finished tweaking git repo https://github.com/jonnydee/recimage [INFO] tweaked toml for git repo https://github.com/jonnydee/recimage written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/jonnydee/recimage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4927a4464eee4c0b5e5b5a16c72246a2a5261a4c91b5d2ef2e1b6a18c2c3d6cb [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" "4927a4464eee4c0b5e5b5a16c72246a2a5261a4c91b5d2ef2e1b6a18c2c3d6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4927a4464eee4c0b5e5b5a16c72246a2a5261a4c91b5d2ef2e1b6a18c2c3d6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4927a4464eee4c0b5e5b5a16c72246a2a5261a4c91b5d2ef2e1b6a18c2c3d6cb", kill_on_drop: false }` [INFO] [stdout] 4927a4464eee4c0b5e5b5a16c72246a2a5261a4c91b5d2ef2e1b6a18c2c3d6cb [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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ddb3a67426623852001e5d33b6e902c7668c20994ea23743de3607ede4a5af1 [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" "6ddb3a67426623852001e5d33b6e902c7668c20994ea23743de3607ede4a5af1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.13 [INFO] [stderr] Checking recimage v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/recimage/pixmap.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let f = try!(File::open(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/recimage/pixmap.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let f = try!(File::open(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_image(file_name : &str, data : &Data, depth : usize) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 55 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 | Err(f) => { std::panic::panic_any(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | fn make_image(file_name : &str, data : &Data, depth : usize) { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | Err(f) => { panic!(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 55 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 55 | Err(f) => { std::panic::panic_any(f.to_string()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.67s [INFO] running `Command { std: "docker" "inspect" "6ddb3a67426623852001e5d33b6e902c7668c20994ea23743de3607ede4a5af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ddb3a67426623852001e5d33b6e902c7668c20994ea23743de3607ede4a5af1", kill_on_drop: false }` [INFO] [stdout] 6ddb3a67426623852001e5d33b6e902c7668c20994ea23743de3607ede4a5af1