[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 master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaur%2Fapp2png-rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afaur/app2png-rs 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/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-6/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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] [stderr] Blocking waiting for file lock on package cache [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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 26745f02eb48ddbcbaa1982557da4085f1d97d696a0f0a7fa9f97572c1763776 [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" "26745f02eb48ddbcbaa1982557da4085f1d97d696a0f0a7fa9f97572c1763776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26745f02eb48ddbcbaa1982557da4085f1d97d696a0f0a7fa9f97572c1763776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26745f02eb48ddbcbaa1982557da4085f1d97d696a0f0a7fa9f97572c1763776", kill_on_drop: false }` [INFO] [stdout] 26745f02eb48ddbcbaa1982557da4085f1d97d696a0f0a7fa9f97572c1763776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 4f40adb5da14113913976df6c3c47c74dd12c6019fd9c9f4ddff4ac2c48ca666 [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" "4f40adb5da14113913976df6c3c47c74dd12c6019fd9c9f4ddff4ac2c48ca666", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling plist v0.1.3 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling chrono v0.2.25 [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" "4f40adb5da14113913976df6c3c47c74dd12c6019fd9c9f4ddff4ac2c48ca666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f40adb5da14113913976df6c3c47c74dd12c6019fd9c9f4ddff4ac2c48ca666", kill_on_drop: false }` [INFO] [stdout] 4f40adb5da14113913976df6c3c47c74dd12c6019fd9c9f4ddff4ac2c48ca666