[INFO] updating cached repository https://github.com/afaur/app2png-rs [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] f0e24d524f9938beadb965c12db0053a898ac543 [INFO] testing afaur/app2png-rs against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaur%2Fapp2png-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afaur/app2png-rs on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/afaur/app2png-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96ae6da8919b41ce6676f3278deee1cacfe0dc3a4b7bfe2c38d969bc4d967cce [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" "96ae6da8919b41ce6676f3278deee1cacfe0dc3a4b7bfe2c38d969bc4d967cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96ae6da8919b41ce6676f3278deee1cacfe0dc3a4b7bfe2c38d969bc4d967cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ae6da8919b41ce6676f3278deee1cacfe0dc3a4b7bfe2c38d969bc4d967cce", kill_on_drop: false }` [INFO] [stdout] 96ae6da8919b41ce6676f3278deee1cacfe0dc3a4b7bfe2c38d969bc4d967cce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7b59ca0402fde5e32b22a138b8f80617c614711313de9243e2e5301d4452094 [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" "f7b59ca0402fde5e32b22a138b8f80617c614711313de9243e2e5301d4452094", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling plist v0.1.3 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling icns v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.12.4 [INFO] [stderr] Compiling app2png-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed for `std::string::String` [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 14 | let default_app_icon = String::from("/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns"); [INFO] [stdout] | ---------------- consider giving `default_app_icon` a type [INFO] [stdout] ... [INFO] [stdout] 33 | let pi = String::from(possible_icon.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: std::convert::From<&_>` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `std::vec::Vec` [INFO] [stdout] --> src/main.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 102 | let args: Vec<_> = env::args().collect(); [INFO] [stdout] | ---- consider giving `args` the explicit type `std::vec::Vec`, where the type parameter `std::string::String` is specified [INFO] [stdout] 103 | if args.len() == 3 { [INFO] [stdout] 104 | let input: String = String::from(args[1].as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: std::convert::From<&_>` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `app2png-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f7b59ca0402fde5e32b22a138b8f80617c614711313de9243e2e5301d4452094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7b59ca0402fde5e32b22a138b8f80617c614711313de9243e2e5301d4452094", kill_on_drop: false }` [INFO] [stdout] f7b59ca0402fde5e32b22a138b8f80617c614711313de9243e2e5301d4452094