[INFO] fetching crate flakebi-ring 0.16.15... [INFO] checking flakebi-ring-0.16.15 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate flakebi-ring 0.16.15 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate flakebi-ring 0.16.15 [INFO] finished tweaking crates.io crate flakebi-ring 0.16.15 [INFO] tweaked toml for crates.io crate flakebi-ring 0.16.15 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flakebi-ring 0.16.15 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding spin v0.5.2 (available: v0.10.0) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f30cf72266e31dd2848a4b41c8a832c962fb57916ccf6eeb5bc4ecc311f9489 [INFO] running `Command { std: "docker" "start" "-a" "3f30cf72266e31dd2848a4b41c8a832c962fb57916ccf6eeb5bc4ecc311f9489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f30cf72266e31dd2848a4b41c8a832c962fb57916ccf6eeb5bc4ecc311f9489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f30cf72266e31dd2848a4b41c8a832c962fb57916ccf6eeb5bc4ecc311f9489", kill_on_drop: false }` [INFO] [stdout] 3f30cf72266e31dd2848a4b41c8a832c962fb57916ccf6eeb5bc4ecc311f9489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f039838fd91c59ae4138c9b7111430e49292468d2146a9858b06471d6ac51e [INFO] running `Command { std: "docker" "start" "-a" "22f039838fd91c59ae4138c9b7111430e49292468d2146a9858b06471d6ac51e", kill_on_drop: false }` [INFO] [stderr] Compiling flakebi-ring v0.16.15 (/opt/rustwide/workdir) [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:266:18","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> build.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | box_pointers, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:447:8","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> build.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | let is_git = std::fs::metadata(".git").is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> build.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 281 - let is_git = std::fs::metadata(".git").is_ok(); [INFO] [stdout] 281 + let is_git = fs::metadata(".git").is_ok(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:470:55","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> build.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | std::fs::create_dir(&pregenerated).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 303 - std::fs::create_dir(&pregenerated).unwrap(); [INFO] [stdout] 303 + fs::create_dir(&pregenerated).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:508:13","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> build.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | std::fs::create_dir(&pregenerated_tmp).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 305 - std::fs::create_dir(&pregenerated_tmp).unwrap(); [INFO] [stdout] 305 + fs::create_dir(&pregenerated_tmp).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:559:20","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> build.rs:762:34 [INFO] [stdout] | [INFO] [stdout] 762 | if let Ok(target_metadata) = std::fs::metadata(target) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 762 - if let Ok(target_metadata) = std::fs::metadata(target) { [INFO] [stdout] 762 + if let Ok(target_metadata) = fs::metadata(target) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:621:12","p":0,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> build.rs:775:5 [INFO] [stdout] | [INFO] [stdout] 775 | std::fs::metadata(path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 775 - std::fs::metadata(path) [INFO] [stdout] 775 + fs::metadata(path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:633:20","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:658:14","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:660:15","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:725:31","p":2,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:774:30","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"build_script_build","loc":"build.rs:803:15","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> build.rs:488:52 [INFO] [stdout] | [INFO] [stdout] 488 | let _ = c.flag("-Wl,--gc-sections".into()); [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `find_msvc_tools`, `std`: [INFO] [stdout] - impl AsRef for OsStr; [INFO] [stdout] - impl AsRef for OsString; [INFO] [stdout] - impl AsRef for Path; [INFO] [stdout] - impl AsRef for PathBuf; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for find_msvc_tools::find_tools::Env; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] note: required by a bound in `Build::flag` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cc-1.2.57/src/lib.rs:647:39 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn flag(&mut self, flag: impl AsRef) -> &mut Build { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Build::flag` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 488 - let _ = c.flag("-Wl,--gc-sections".into()); [INFO] [stdout] 488 + let _ = c.flag(<&str as Into>::into("-Wl,--gc-sections")); [INFO] [stdout] | [INFO] [stdout] help: consider removing this method call, as the receiver has type `&'static str` and `&'static str: AsRef` trivially holds [INFO] [stdout] | [INFO] [stdout] 488 - let _ = c.flag("-Wl,--gc-sections".into()); [INFO] [stdout] 488 + let _ = c.flag("-Wl,--gc-sections"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flakebi-ring` (build script) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "22f039838fd91c59ae4138c9b7111430e49292468d2146a9858b06471d6ac51e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f039838fd91c59ae4138c9b7111430e49292468d2146a9858b06471d6ac51e", kill_on_drop: false }` [INFO] [stdout] 22f039838fd91c59ae4138c9b7111430e49292468d2146a9858b06471d6ac51e