[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaur%2Fapp2png-rs" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afaur/app2png-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-108/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4d6b6966ec417ed4cd118c7dae0bee880924f0b6bc6c7a65442a675f71113ef [INFO] running `Command { std: "docker" "start" "-a" "b4d6b6966ec417ed4cd118c7dae0bee880924f0b6bc6c7a65442a675f71113ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4d6b6966ec417ed4cd118c7dae0bee880924f0b6bc6c7a65442a675f71113ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4d6b6966ec417ed4cd118c7dae0bee880924f0b6bc6c7a65442a675f71113ef", kill_on_drop: false }` [INFO] [stdout] b4d6b6966ec417ed4cd118c7dae0bee880924f0b6bc6c7a65442a675f71113ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e80afa10794a936afb4bfe643c2cbad5d1591dec0f5f735b2a484338ea3cb56 [INFO] running `Command { std: "docker" "start" "-a" "5e80afa10794a936afb4bfe643c2cbad5d1591dec0f5f735b2a484338ea3cb56", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling bitflags v0.7.1 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling adler32 v0.3.0 [INFO] [stderr] Compiling plist v0.1.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling serde v0.9.7 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num_cpus v1.2.1 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling deflate v0.7.4 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling num v0.1.36 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling flate2 v0.2.17 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling icns v0.2.0 [INFO] [stderr] Compiling image v0.12.3 [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] and 4 other candidates [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: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 5 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 6 previous errors [INFO] running `Command { std: "docker" "inspect" "5e80afa10794a936afb4bfe643c2cbad5d1591dec0f5f735b2a484338ea3cb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e80afa10794a936afb4bfe643c2cbad5d1591dec0f5f735b2a484338ea3cb56", kill_on_drop: false }` [INFO] [stdout] 5e80afa10794a936afb4bfe643c2cbad5d1591dec0f5f735b2a484338ea3cb56