[INFO] cloning repository https://github.com/lancelote/rust-in-action [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lancelote/rust-in-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flancelote%2Frust-in-action", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flancelote%2Frust-in-action'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3fa73e5dc8debaba42c8df490763258ff420a5b [INFO] checking lancelote/rust-in-action against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flancelote%2Frust-in-action" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lancelote/rust-in-action [INFO] finished tweaking git repo https://github.com/lancelote/rust-in-action [INFO] tweaked toml for git repo https://github.com/lancelote/rust-in-action written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lancelote/rust-in-action on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lancelote/rust-in-action 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5ea6da21c9abe95e21484993c1b0eed8d6a1020061b7e197c41e3a05f4509a9 [INFO] running `Command { std: "docker" "start" "-a" "a5ea6da21c9abe95e21484993c1b0eed8d6a1020061b7e197c41e3a05f4509a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5ea6da21c9abe95e21484993c1b0eed8d6a1020061b7e197c41e3a05f4509a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ea6da21c9abe95e21484993c1b0eed8d6a1020061b7e197c41e3a05f4509a9", kill_on_drop: false }` [INFO] [stdout] a5ea6da21c9abe95e21484993c1b0eed8d6a1020061b7e197c41e3a05f4509a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bae1e347808d4bb78ff28d1577f393591ca5cdfe444162fc61057ccfce8d1746 [INFO] running `Command { std: "docker" "start" "-a" "bae1e347808d4bb78ff28d1577f393591ca5cdfe444162fc61057ccfce8d1746", 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 libc v0.2.93 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking ch04 v0.1.0 (/opt/rustwide/workdir/ch04) [INFO] [stderr] Checking ch05 v0.1.0 (/opt/rustwide/workdir/ch05) [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking ch06 v0.1.0 (/opt/rustwide/workdir/ch06) [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking ch01 v0.1.0 (/opt/rustwide/workdir/ch01) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/float_as_int.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | let frankentype: u32 = unsafe { std::mem::transmute(a) }; [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/float_as_int.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let b: f32 = unsafe { std::mem::transmute(frankentype) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/float_as_int.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | let frankentype: u32 = unsafe { std::mem::transmute(a) }; [INFO] [stdout] | -------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/float_as_int.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let b: f32 = unsafe { std::mem::transmute(frankentype) }; [INFO] [stdout] | -------------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/endianness.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let a: i32 = unsafe { transmute(big_endian) }; [INFO] [stdout] | ---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/endianness.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let b: i32 = unsafe { transmute(little_endian) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/endianness.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let a: i32 = unsafe { transmute(big_endian) }; [INFO] [stdout] | ---------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> ch05/src/bin/endianness.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let b: i32 = unsafe { transmute(little_endian) }; [INFO] [stdout] | ---------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.4.0/src/biguint/convert.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found reference `&_` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9748d87dc70a9a6725c5dbd76ce29d04752b4f90/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 70 - .div_ceil(&big_digit::BITS.into()) [INFO] [stdout] 70 + .div_ceil(big_digit::BITS.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.4.0/src/biguint/convert.rs:585:19 [INFO] [stdout] | [INFO] [stdout] 585 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9748d87dc70a9a6725c5dbd76ce29d04752b4f90/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 585 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 585 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.4.0/src/biguint/convert.rs:613:19 [INFO] [stdout] | [INFO] [stdout] 613 | .div_ceil(&u64::from(bits)) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9748d87dc70a9a6725c5dbd76ce29d04752b4f90/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 613 - .div_ceil(&u64::from(bits)) [INFO] [stdout] 613 + .div_ceil(u64::from(bits)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch03 v0.1.0 (/opt/rustwide/workdir/ch03) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.4.0/src/biguint.rs:398:54 [INFO] [stdout] | [INFO] [stdout] 398 | let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] | -------- ^^^^ expected `u64`, found `&u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/9748d87dc70a9a6725c5dbd76ce29d04752b4f90/library/core/src/num/mod.rs:1151:5 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 398 - let root_scale = extra_bits.div_ceil(&n64); [INFO] [stdout] 398 + let root_scale = extra_bits.div_ceil(n64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> ch03/src/bin/global_var_err.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | assert_ne!(ERROR, 0, "An error has occurred!"); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> ch03/src/bin/global_var_err.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | assert_ne!(ERROR, 0, "An error has occurred!"); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared 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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-bigint` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaaKMD5z" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syn` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "bae1e347808d4bb78ff28d1577f393591ca5cdfe444162fc61057ccfce8d1746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae1e347808d4bb78ff28d1577f393591ca5cdfe444162fc61057ccfce8d1746", kill_on_drop: false }` [INFO] [stdout] bae1e347808d4bb78ff28d1577f393591ca5cdfe444162fc61057ccfce8d1746