[INFO] cloning 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" "clone" "--bare" "https://github.com/afaur/app2png-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaur%2Fapp2png-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaur%2Fapp2png-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0e24d524f9938beadb965c12db0053a898ac543 [INFO] testing afaur/app2png-rs against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaur%2Fapp2png-rs" "/workspace/builds/worker-31/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afaur/app2png-rs on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-31/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4b1aebb051523f9b318a678ada3e867623619b3d034af8c04a687ec718e8bc2 [INFO] running `Command { std: "docker" "start" "-a" "b4b1aebb051523f9b318a678ada3e867623619b3d034af8c04a687ec718e8bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4b1aebb051523f9b318a678ada3e867623619b3d034af8c04a687ec718e8bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b1aebb051523f9b318a678ada3e867623619b3d034af8c04a687ec718e8bc2", kill_on_drop: false }` [INFO] [stdout] b4b1aebb051523f9b318a678ada3e867623619b3d034af8c04a687ec718e8bc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c854860138a8c7c728e1928ed04b69a3ba6e15b73c09d47031d877a01ed79e2c [INFO] running `Command { std: "docker" "start" "-a" "c854860138a8c7c728e1928ed04b69a3ba6e15b73c09d47031d877a01ed79e2c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v0.7.1 [INFO] [stderr] Compiling plist v0.1.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling image v0.12.3 [INFO] [stderr] Compiling icns v0.2.0 [INFO] [stderr] Compiling app2png-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | let pi = String::from(possible_icon.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&std::string::String> for std::string::String; [INFO] [stdout] - impl<> From<&str> for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:33:51 [INFO] [stdout] | [INFO] [stdout] 33 | let pi = String::from(possible_icon.as_ref()); [INFO] [stdout] | --------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef<[u8]> for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 33 | let pi = String::from(>::as_ref(possible_icon)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 33 | let pi = String::from(>::as_ref(possible_icon)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 33 | let pi = String::from(>::as_ref(possible_icon)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 33 | let pi = String::from(>::as_ref(possible_icon)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let input: String = String::from(args[1].as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&std::string::String> for std::string::String; [INFO] [stdout] - impl<> From<&str> for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:104:46 [INFO] [stdout] | [INFO] [stdout] 104 | let input: String = String::from(args[1].as_ref()); [INFO] [stdout] | --------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef<[u8]> for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let output: String = String::from(args[2].as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&std::string::String> for std::string::String; [INFO] [stdout] - impl<> From<&str> for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:105:47 [INFO] [stdout] | [INFO] [stdout] 105 | let output: String = String::from(args[2].as_ref()); [INFO] [stdout] | --------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef<[u8]> for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c854860138a8c7c728e1928ed04b69a3ba6e15b73c09d47031d877a01ed79e2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c854860138a8c7c728e1928ed04b69a3ba6e15b73c09d47031d877a01ed79e2c", kill_on_drop: false }` [INFO] [stdout] c854860138a8c7c728e1928ed04b69a3ba6e15b73c09d47031d877a01ed79e2c