[INFO] updating cached repository https://github.com/IvySeo/encrypt_decrypt_example [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] 499c4e508a0fded463565393bd54b300cb7ff56a [INFO] testing IvySeo/encrypt_decrypt_example against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvySeo%2Fencrypt_decrypt_example" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IvySeo/encrypt_decrypt_example 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/IvySeo/encrypt_decrypt_example [INFO] finished tweaking git repo https://github.com/IvySeo/encrypt_decrypt_example [INFO] tweaked toml for git repo https://github.com/IvySeo/encrypt_decrypt_example written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/IvySeo/encrypt_decrypt_example 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] error: the lock file /workspace/builds/worker-10/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad9fb50a0b1063d29bb47e8feab42a9ac55dfabf231249c3cb4de68eb378b3e7 [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" "ad9fb50a0b1063d29bb47e8feab42a9ac55dfabf231249c3cb4de68eb378b3e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad9fb50a0b1063d29bb47e8feab42a9ac55dfabf231249c3cb4de68eb378b3e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad9fb50a0b1063d29bb47e8feab42a9ac55dfabf231249c3cb4de68eb378b3e7", kill_on_drop: false }` [INFO] [stdout] ad9fb50a0b1063d29bb47e8feab42a9ac55dfabf231249c3cb4de68eb378b3e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d31355e3035edb685a998ed687c267fe32d455662fe2fe1cdba7ea2c32d1142 [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" "1d31355e3035edb685a998ed687c267fe32d455662fe2fe1cdba7ea2c32d1142", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling sodiumoxide v0.2.6 [INFO] [stderr] Compiling encrypt_m7small v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/decrypt.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow::{Result}; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `curve25519xsalsa20poly1305::PublicKey`, `sealedbox` [INFO] [stdout] --> src/encrypt.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | box_::{curve25519xsalsa20poly1305::PublicKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | sealedbox, [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/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader` [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `encrypt_m7small`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1d31355e3035edb685a998ed687c267fe32d455662fe2fe1cdba7ea2c32d1142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d31355e3035edb685a998ed687c267fe32d455662fe2fe1cdba7ea2c32d1142", kill_on_drop: false }` [INFO] [stdout] 1d31355e3035edb685a998ed687c267fe32d455662fe2fe1cdba7ea2c32d1142