[INFO] fetching crate fat_type 0.1.0... [INFO] checking fat_type-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate fat_type 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate fat_type 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fat_type 0.1.0 [INFO] finished tweaking crates.io crate fat_type 0.1.0 [INFO] tweaked toml for crates.io crate fat_type 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7244b723bc34e3b8f5f1101fe7a1ba1aca8d478e973f549d76be8753ea739225 [INFO] running `Command { std: "docker" "start" "-a" "7244b723bc34e3b8f5f1101fe7a1ba1aca8d478e973f549d76be8753ea739225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7244b723bc34e3b8f5f1101fe7a1ba1aca8d478e973f549d76be8753ea739225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7244b723bc34e3b8f5f1101fe7a1ba1aca8d478e973f549d76be8753ea739225", kill_on_drop: false }` [INFO] [stdout] 7244b723bc34e3b8f5f1101fe7a1ba1aca8d478e973f549d76be8753ea739225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b50d1df401fe88d58584d22214d010190a2331ba5c64e0150690cb195fedb5b1 [INFO] running `Command { std: "docker" "start" "-a" "b50d1df401fe88d58584d22214d010190a2331ba5c64e0150690cb195fedb5b1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking fat_type v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `as_ref` in the crate root [INFO] [stdout] --> src/tests.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let thin = crate::as_ref(&value); [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_mut` in the crate root [INFO] [stdout] --> src/tests.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | let inner = crate::get_inner_mut(crate::as_mut(&mut value)); [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_ref` in the crate root [INFO] [stdout] --> src/tests.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | crate::get_layout(crate::as_ref(&TestStruct::wrapped())), [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `as_mut` in the crate root [INFO] [stdout] --> src/tests.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(crate::as_mut(&mut TestStruct::wrapped()).get_forty_two(), 42); [INFO] [stdout] | ^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fat_type` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b50d1df401fe88d58584d22214d010190a2331ba5c64e0150690cb195fedb5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50d1df401fe88d58584d22214d010190a2331ba5c64e0150690cb195fedb5b1", kill_on_drop: false }` [INFO] [stdout] b50d1df401fe88d58584d22214d010190a2331ba5c64e0150690cb195fedb5b1