[INFO] fetching crate strlen 1.0.0... [INFO] checking strlen-1.0.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate strlen 1.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate strlen 1.0.0 [INFO] finished tweaking crates.io crate strlen 1.0.0 [INFO] tweaked toml for crates.io crate strlen 1.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate strlen 1.0.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9beed686b9bae539e5bed8d2cc06707eeac9e8b6251b7eed666f8ea89c6354c [INFO] running `Command { std: "docker" "start" "-a" "a9beed686b9bae539e5bed8d2cc06707eeac9e8b6251b7eed666f8ea89c6354c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9beed686b9bae539e5bed8d2cc06707eeac9e8b6251b7eed666f8ea89c6354c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9beed686b9bae539e5bed8d2cc06707eeac9e8b6251b7eed666f8ea89c6354c", kill_on_drop: false }` [INFO] [stdout] a9beed686b9bae539e5bed8d2cc06707eeac9e8b6251b7eed666f8ea89c6354c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c7e50c2a9f83434cf3a6f398379ff69f1fb9d020784fe73cd6cace523a50a0b [INFO] running `Command { std: "docker" "start" "-a" "3c7e50c2a9f83434cf3a6f398379ff69f1fb9d020784fe73cd6cace523a50a0b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking strlen v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/lib.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 52 | const fn strcpy_ct(dst: *mut u8, src: *const u8) -> *mut u8 { [INFO] [stdout] | ----------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 71 | const_eval_select((dest,source,), strcpy_ct, strcpy_rt) [INFO] [stdout] | ----------------- ^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(*mut i8, *const i8) -> _` [INFO] [stdout] found function signature `fn(*mut u8, *const u8) -> _` [INFO] [stdout] note: required by a bound in `const_eval_select` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/intrinsics/mod.rs:2269:1 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 71 | const_eval_select((dest,source,), |arg0: *mut i8, arg1: *const i8| strcpy_ct(/* *mut u8 */, /* *const u8 */), strcpy_rt) [INFO] [stdout] | ++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/lib.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 52 | const fn strcpy_ct(dst: *mut u8, src: *const u8) -> *mut u8 { [INFO] [stdout] | ----------------------------------------------------------- found signature defined here [INFO] [stdout] ... [INFO] [stdout] 71 | const_eval_select((dest,source,), strcpy_ct, strcpy_rt) [INFO] [stdout] | ----------------- ^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(*mut i8, *const i8) -> _` [INFO] [stdout] found function signature `fn(*mut u8, *const u8) -> _` [INFO] [stdout] note: required by a bound in `const_eval_select` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/intrinsics/mod.rs:2269:1 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 71 | const_eval_select((dest,source,), |arg0: *mut i8, arg1: *const i8| strcpy_ct(/* *mut u8 */, /* *const u8 */), strcpy_rt) [INFO] [stdout] | ++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stderr] error: could not compile `strlen` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `strlen` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3c7e50c2a9f83434cf3a6f398379ff69f1fb9d020784fe73cd6cace523a50a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c7e50c2a9f83434cf3a6f398379ff69f1fb9d020784fe73cd6cace523a50a0b", kill_on_drop: false }` [INFO] [stdout] 3c7e50c2a9f83434cf3a6f398379ff69f1fb9d020784fe73cd6cace523a50a0b