[INFO] crate rustc-hex 2.1.0 is already in cache [INFO] checking rustc-hex-2.1.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate rustc-hex 2.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rustc-hex 2.1.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rustc-hex 2.1.0 [INFO] finished tweaking crates.io crate rustc-hex 2.1.0 [INFO] tweaked toml for crates.io crate rustc-hex 2.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7606500e5b2c9e8bd8374fb701d534bad4237cd472bfbd0af76d16788f382e0 [INFO] running `"docker" "start" "-a" "c7606500e5b2c9e8bd8374fb701d534bad4237cd472bfbd0af76d16788f382e0"` [INFO] [stderr] Checking rustc-hex v2.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> benches/hex.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | s.as_bytes().to_hex(); [INFO] [stderr] | ^^^^^^ cannot infer type for type parameter `T` declared on the associated function `to_hex` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `_: std::iter::FromIterator` [INFO] [stderr] help: consider specifying the type argument in the method call [INFO] [stderr] | [INFO] [stderr] 14 | s.as_bytes().to_hex::(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> benches/hex.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 23 | let sb = s.as_bytes().to_hex(); [INFO] [stderr] | -- consider giving `sb` a type [INFO] [stderr] 24 | b.iter(|| { [INFO] [stderr] 25 | sb.from_hex().unwrap(); [INFO] [stderr] | ^^ cannot infer type [INFO] [stderr] | [INFO] [stderr] = note: type must be known at this point [INFO] [stderr] [INFO] [stderr] warning: unused import: `FromHex` [INFO] [stderr] --> benches/hex.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use hex::{FromHex, ToHex}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0283. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `rustc-hex`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c7606500e5b2c9e8bd8374fb701d534bad4237cd472bfbd0af76d16788f382e0"` [INFO] running `"docker" "rm" "-f" "c7606500e5b2c9e8bd8374fb701d534bad4237cd472bfbd0af76d16788f382e0"` [INFO] [stdout] c7606500e5b2c9e8bd8374fb701d534bad4237cd472bfbd0af76d16788f382e0