[INFO] cloning repository https://github.com/carado/utl-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carado/utl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarado%2Futl-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarado%2Futl-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 345b588f872489542eb08b47f2dcf26d573200c4 [INFO] checking carado/utl-rs against try#075992eda207e1647b699c8c8ada67b32ce7b115 for pr-77271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarado%2Futl-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carado/utl-rs on toolchain 075992eda207e1647b699c8c8ada67b32ce7b115 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/carado/utl-rs [INFO] finished tweaking git repo https://github.com/carado/utl-rs [INFO] tweaked toml for git repo https://github.com/carado/utl-rs written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/carado/utl-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cff129ed3a55116169109c91123af69d97544c463f51d42a9dcc402ba7bc5d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2cff129ed3a55116169109c91123af69d97544c463f51d42a9dcc402ba7bc5d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cff129ed3a55116169109c91123af69d97544c463f51d42a9dcc402ba7bc5d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cff129ed3a55116169109c91123af69d97544c463f51d42a9dcc402ba7bc5d3", kill_on_drop: false }` [INFO] [stdout] 2cff129ed3a55116169109c91123af69d97544c463f51d42a9dcc402ba7bc5d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32f8685d66069ab9fc7b4b72cdfaffcd92284ba207f0e678cc7538ce184f9d8a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32f8685d66069ab9fc7b4b72cdfaffcd92284ba207f0e678cc7538ce184f9d8a", kill_on_drop: false }` [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking utl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | self.resize_cap(old_cap, new_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | self.resize_cap(new_cap >> 1, new_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:146:45 [INFO] [stdout] | [INFO] [stdout] 146 | self.resize_cap(old_cap, old_cap >> 1, Alloc::shrink); [INFO] [stdout] | ^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::shrink}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `for<'r> unsafe fn(&'r std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr> {::shrink}` as `for<'r> unsafe fn(&'r mut std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr>` [INFO] [stdout] --> src/cvec.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | Less => Some(Alloc::shrink as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `for<'r> unsafe fn(&'r std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr> {::grow}` as `for<'r> unsafe fn(&'r mut std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr>` [INFO] [stdout] --> src/cvec.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | Greater => Some(Alloc::grow as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | self.resize_cap(old_cap, new_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | self.resize_cap(self.cap(), alloc_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:129:44 [INFO] [stdout] | [INFO] [stdout] 129 | self.resize_cap(new_cap >> 1, new_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:200:48 [INFO] [stdout] | [INFO] [stdout] 200 | self.resize_cap(alloc_cap, new_alloc_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:212:44 [INFO] [stdout] | [INFO] [stdout] 212 | self.resize_cap(alloc_cap, should_cap, Alloc::shrink); [INFO] [stdout] | ^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::shrink}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:146:45 [INFO] [stdout] | [INFO] [stdout] 146 | self.resize_cap(old_cap, old_cap >> 1, Alloc::shrink); [INFO] [stdout] | ^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::shrink}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `for<'r> unsafe fn(&'r std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr> {::shrink}` as `for<'r> unsafe fn(&'r mut std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr>` [INFO] [stdout] --> src/cvec.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | Less => Some(Alloc::shrink as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `for<'r> unsafe fn(&'r std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr> {::grow}` as `for<'r> unsafe fn(&'r mut std::alloc::Global, NonNull, Layout, Layout) -> std::result::Result, AllocErr>` [INFO] [stdout] --> src/cvec.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | Greater => Some(Alloc::grow as _), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ invalid cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | self.resize_cap(self.cap(), alloc_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utl` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:200:48 [INFO] [stdout] | [INFO] [stdout] 200 | self.resize_cap(alloc_cap, new_alloc_cap, Alloc::grow); [INFO] [stdout] | ^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::grow}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cvec.rs:212:44 [INFO] [stdout] | [INFO] [stdout] 212 | self.resize_cap(alloc_cap, should_cap, Alloc::shrink); [INFO] [stdout] | ^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe for<'r> fn(&'r mut std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _>` [INFO] [stdout] found fn item `unsafe for<'r> fn(&'r std::alloc::Global, NonNull<_>, Layout, Layout) -> std::result::Result<_, _> {::shrink}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "32f8685d66069ab9fc7b4b72cdfaffcd92284ba207f0e678cc7538ce184f9d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f8685d66069ab9fc7b4b72cdfaffcd92284ba207f0e678cc7538ce184f9d8a", kill_on_drop: false }` [INFO] [stdout] 32f8685d66069ab9fc7b4b72cdfaffcd92284ba207f0e678cc7538ce184f9d8a