[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 master#d902752866cbbdb331e3cf28ff6bba86ab0f6c62 for pr-77271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarado%2Futl-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carado/utl-rs on toolchain d902752866cbbdb331e3cf28ff6bba86ab0f6c62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d902752866cbbdb331e3cf28ff6bba86ab0f6c62" "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-3/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" "+d902752866cbbdb331e3cf28ff6bba86ab0f6c62" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d902752866cbbdb331e3cf28ff6bba86ab0f6c62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5637b6de4fc7936cec8663eb20dc9938392116abc531ab0f9c0f590f59a69261 [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" "5637b6de4fc7936cec8663eb20dc9938392116abc531ab0f9c0f590f59a69261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5637b6de4fc7936cec8663eb20dc9938392116abc531ab0f9c0f590f59a69261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5637b6de4fc7936cec8663eb20dc9938392116abc531ab0f9c0f590f59a69261", kill_on_drop: false }` [INFO] [stdout] 5637b6de4fc7936cec8663eb20dc9938392116abc531ab0f9c0f590f59a69261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+d902752866cbbdb331e3cf28ff6bba86ab0f6c62" "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] bbcafdf997448fe62515bd44da18115e67167d328af9f88bd6578b72dbc070d9 [INFO] running `Command { std: "docker" "start" "-a" "bbcafdf997448fe62515bd44da18115e67167d328af9f88bd6578b72dbc070d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling quote v1.0.7 [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: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: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[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: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: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: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: 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: 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" "bbcafdf997448fe62515bd44da18115e67167d328af9f88bd6578b72dbc070d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcafdf997448fe62515bd44da18115e67167d328af9f88bd6578b72dbc070d9", kill_on_drop: false }` [INFO] [stdout] bbcafdf997448fe62515bd44da18115e67167d328af9f88bd6578b72dbc070d9