[INFO] updating cached repository https://github.com/youssefhabri/pngcrypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3c04eec83858bb614f3213fcff49e9c55f7bb75 [INFO] testing youssefhabri/pngcrypt against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyoussefhabri%2Fpngcrypt" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/youssefhabri/pngcrypt on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/youssefhabri/pngcrypt [INFO] finished tweaking git repo https://github.com/youssefhabri/pngcrypt [INFO] tweaked toml for git repo https://github.com/youssefhabri/pngcrypt written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/youssefhabri/pngcrypt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 960febfe88ddcaf0db8870119ded7a5fed91bedf0512d0c788718085d1a1e27d [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" "960febfe88ddcaf0db8870119ded7a5fed91bedf0512d0c788718085d1a1e27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "960febfe88ddcaf0db8870119ded7a5fed91bedf0512d0c788718085d1a1e27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "960febfe88ddcaf0db8870119ded7a5fed91bedf0512d0c788718085d1a1e27d", kill_on_drop: false }` [INFO] [stdout] 960febfe88ddcaf0db8870119ded7a5fed91bedf0512d0c788718085d1a1e27d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58598493e505b6ae88fa43cf069a77057acf506355765f46a97096a76fa3f7b3 [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" "58598493e505b6ae88fa43cf069a77057acf506355765f46a97096a76fa3f7b3", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling stream-cipher v0.3.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling cfb-mode v0.3.2 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling pngcrypt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/decrypt.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let mut input = map_err!(File::open(input.clone()))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/decrypt.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let mut output = map_err!(File::create(output))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/decrypt.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let _ = map_err!(output.write(&data))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/encrypt.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut file = map_err!(File::open(filename.clone()))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/encrypt.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let mut output = map_err!(File::create(format!("encrypted-{}", filename)))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/encrypt.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | map_err!(output.write(&header))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/encrypt.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | map_err!(output.write(&chunk.raw()))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/decrypt.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/decrypt.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `self` [INFO] [stdout] --> src/bin/decrypt.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/encrypt.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = map_err!(std::io::stdin().read_line(&mut input))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/encrypt.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | map_err!(output.write(&crypt_chunk.raw()))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `map_err` in this scope [INFO] [stdout] --> src/bin/encrypt.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | map_err!(output.write(&chunk.raw()))?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/bin/encrypt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `Write`, `self` [INFO] [stdout] --> src/bin/encrypt.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pngcrypt`. [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "58598493e505b6ae88fa43cf069a77057acf506355765f46a97096a76fa3f7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58598493e505b6ae88fa43cf069a77057acf506355765f46a97096a76fa3f7b3", kill_on_drop: false }` [INFO] [stdout] 58598493e505b6ae88fa43cf069a77057acf506355765f46a97096a76fa3f7b3