[INFO] cloning repository https://github.com/keithnoguchi/cpr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keithnoguchi/cpr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithnoguchi%2Fcpr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithnoguchi%2Fcpr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d534bd8a82c82c056d9bc8b52d1175ba4097da35 [INFO] testing keithnoguchi/cpr against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithnoguchi%2Fcpr" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/keithnoguchi/cpr [INFO] finished tweaking git repo https://github.com/keithnoguchi/cpr [INFO] tweaked toml for git repo https://github.com/keithnoguchi/cpr written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/keithnoguchi/cpr on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/keithnoguchi/cpr already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-net v1.7.0 [INFO] [stderr] Downloaded async-process v1.6.0 [INFO] [stderr] Downloaded async-global-executor v2.3.0 [INFO] [stderr] Downloaded polling v2.5.2 [INFO] [stderr] Downloaded async-io v1.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c65fe101c5261999574f5ff129f922dcb02d9b39abdfc9037a124d51bdaffa5e [INFO] running `Command { std: "docker" "start" "-a" "c65fe101c5261999574f5ff129f922dcb02d9b39abdfc9037a124d51bdaffa5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65fe101c5261999574f5ff129f922dcb02d9b39abdfc9037a124d51bdaffa5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65fe101c5261999574f5ff129f922dcb02d9b39abdfc9037a124d51bdaffa5e", kill_on_drop: false }` [INFO] [stdout] c65fe101c5261999574f5ff129f922dcb02d9b39abdfc9037a124d51bdaffa5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d22c4fa627fde2c2b1380ac1823c0b3b37ff629cea982fc2533dc2cdbdf1a20c [INFO] running `Command { std: "docker" "start" "-a" "d22c4fa627fde2c2b1380ac1823c0b3b37ff629cea982fc2533dc2cdbdf1a20c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling polling v2.5.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling async-io v1.12.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling tokio v1.22.0 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling concurrent-queue v2.0.0 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling async-channel v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.86 [INFO] [stdout] error[E0635]: unknown feature `proc_macro_span_shrink` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.46/src/lib.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | feature(proc_macro_span, proc_macro_span_shrink) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling async-net v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling async-process v1.6.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling state v0.1.0 (/opt/rustwide/workdir/chat/state) [INFO] [stderr] Compiling sec237 v0.1.0 (/opt/rustwide/workdir/ch02/sec237) [INFO] [stderr] Compiling sec234 v0.1.0 (/opt/rustwide/workdir/ch02/sec234) [INFO] [stderr] Compiling sec38 v0.1.0 (/opt/rustwide/workdir/ch02/sec238) [INFO] [stderr] Compiling sec430 v0.1.0 (/opt/rustwide/workdir/ch04/sec430) [INFO] [stderr] Compiling sec233 v0.1.0 (/opt/rustwide/workdir/ch02/sec233) [INFO] [stderr] Compiling sec382 v0.1.0 (/opt/rustwide/workdir/ch03/sec382) [INFO] [stderr] Compiling sec410 v0.1.0 (/opt/rustwide/workdir/ch04/sec410) [INFO] [stderr] Compiling sec235 v0.1.0 (/opt/rustwide/workdir/ch02/sec235) [INFO] [stderr] Compiling sec381 v0.1.0 (/opt/rustwide/workdir/ch03/sec381) [INFO] [stderr] Compiling sec232 v0.1.0 (/opt/rustwide/workdir/ch02/sec232) [INFO] [stderr] Compiling sec384 v0.1.0 (/opt/rustwide/workdir/ch03/sec384) [INFO] [stderr] Compiling sec231 v0.1.0 (/opt/rustwide/workdir/ch02/sec231) [INFO] [stderr] Compiling sec239 v0.1.0 (/opt/rustwide/workdir/ch02/sec239) [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling sec390 v0.1.0 (/opt/rustwide/workdir/ch03/sec390) [INFO] [stderr] Compiling sec385 v0.1.0 (/opt/rustwide/workdir/ch03/sec385) [INFO] [stderr] Compiling sec470 v0.1.0 (/opt/rustwide/workdir/ch04/sec470) [INFO] [stderr] Compiling sec236 v0.1.0 (/opt/rustwide/workdir/ch02/sec236) [INFO] [stderr] Compiling sec11 v0.1.0 (/opt/rustwide/workdir/ch07/sec11) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> ch03/sec390/src/lib.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let _guard = bakery::LOCK.lock(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `proc-macro2` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> ch04/sec470/src/lib.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn lock(&self) -> Guard { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn lock(&self) -> Guard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d22c4fa627fde2c2b1380ac1823c0b3b37ff629cea982fc2533dc2cdbdf1a20c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22c4fa627fde2c2b1380ac1823c0b3b37ff629cea982fc2533dc2cdbdf1a20c", kill_on_drop: false }` [INFO] [stdout] d22c4fa627fde2c2b1380ac1823c0b3b37ff629cea982fc2533dc2cdbdf1a20c