[INFO] updating cached repository https://github.com/afaur/app2png-rs
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] f0e24d524f9938beadb965c12db0053a898ac543
[INFO] checking afaur/app2png-rs against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaur%2Fapp2png-rs" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/afaur/app2png-rs on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/afaur/app2png-rs
[INFO] finished tweaking git repo https://github.com/afaur/app2png-rs
[INFO] tweaked toml for git repo https://github.com/afaur/app2png-rs written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/afaur/app2png-rs already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-12/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 `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] cdcb2867b43a2691557acf9e4de00dc7d12b13c23d6d12da68764de29345b92f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "cdcb2867b43a2691557acf9e4de00dc7d12b13c23d6d12da68764de29345b92f"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling plist v0.1.3
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking png v0.6.2
[INFO] [stderr]     Checking icns v0.2.2
[INFO] [stderr]     Checking chrono v0.2.25
[INFO] [stderr]     Checking image v0.12.4
[INFO] [stderr]     Checking app2png-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0283]: type annotations needed for `std::string::String`
[INFO] [stderr]   --> src/main.rs:33:24
[INFO] [stderr]    |
[INFO] [stderr] 14 |   let default_app_icon = String::from("/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns");
[INFO] [stderr]    |       ---------------- consider giving `default_app_icon` a type
[INFO] [stderr] ...
[INFO] [stderr] 33 |               let pi = String::from(possible_icon.as_ref());
[INFO] [stderr]    |                        ^^^^^^^^^^^^ cannot infer type for struct `std::string::String`
[INFO] [stderr]    |
[INFO] [stderr]    = note: cannot satisfy `std::string::String: std::convert::From<&_>`
[INFO] [stderr]    = note: required by `std::convert::From::from`
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed for `std::vec::Vec<std::string::String>`
[INFO] [stderr]    --> src/main.rs:104:25
[INFO] [stderr]     |
[INFO] [stderr] 102 |   let args: Vec<_> = env::args().collect();
[INFO] [stderr]     |       ---- consider giving `args` the explicit type `std::vec::Vec<std::string::String>`, where the type parameter `std::string::String` is specified
[INFO] [stderr] 103 |   if args.len() == 3 {
[INFO] [stderr] 104 |     let input: String = String::from(args[1].as_ref());
[INFO] [stderr]     |                         ^^^^^^^^^^^^ cannot infer type for struct `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = note: cannot satisfy `std::string::String: std::convert::From<&_>`
[INFO] [stderr]     = note: required by `std::convert::From::from`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `app2png-rs`.
[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[E0283]: type annotations needed for `std::string::String`
[INFO] [stderr]   --> src/main.rs:33:24
[INFO] [stderr]    |
[INFO] [stderr] 14 |   let default_app_icon = String::from("/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns");
[INFO] [stderr]    |       ---------------- consider giving `default_app_icon` a type
[INFO] [stderr] ...
[INFO] [stderr] 33 |               let pi = String::from(possible_icon.as_ref());
[INFO] [stderr]    |                        ^^^^^^^^^^^^ cannot infer type for struct `std::string::String`
[INFO] [stderr]    |
[INFO] [stderr]    = note: cannot satisfy `std::string::String: std::convert::From<&_>`
[INFO] [stderr]    = note: required by `std::convert::From::from`
[INFO] [stderr] 
[INFO] [stderr] error[E0283]: type annotations needed for `std::vec::Vec<std::string::String>`
[INFO] [stderr]    --> src/main.rs:104:25
[INFO] [stderr]     |
[INFO] [stderr] 102 |   let args: Vec<_> = env::args().collect();
[INFO] [stderr]     |       ---- consider giving `args` the explicit type `std::vec::Vec<std::string::String>`, where the type parameter `std::string::String` is specified
[INFO] [stderr] 103 |   if args.len() == 3 {
[INFO] [stderr] 104 |     let input: String = String::from(args[1].as_ref());
[INFO] [stderr]     |                         ^^^^^^^^^^^^ cannot infer type for struct `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = note: cannot satisfy `std::string::String: std::convert::From<&_>`
[INFO] [stderr]     = note: required by `std::convert::From::from`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0283`.
[INFO] [stderr] error: could not compile `app2png-rs`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "cdcb2867b43a2691557acf9e4de00dc7d12b13c23d6d12da68764de29345b92f"`
[INFO] running `"docker" "rm" "-f" "cdcb2867b43a2691557acf9e4de00dc7d12b13c23d6d12da68764de29345b92f"`
[INFO] [stdout] cdcb2867b43a2691557acf9e4de00dc7d12b13c23d6d12da68764de29345b92f
