[INFO] cloning repository https://github.com/imaqtkatt/icecream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imaqtkatt/icecream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimaqtkatt%2Ficecream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimaqtkatt%2Ficecream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c835f69494e55edc13e219cc67c1d495648c4a2a [INFO] checking imaqtkatt/icecream against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimaqtkatt%2Ficecream" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imaqtkatt/icecream [INFO] finished tweaking git repo https://github.com/imaqtkatt/icecream [INFO] tweaked toml for git repo https://github.com/imaqtkatt/icecream written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imaqtkatt/icecream on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imaqtkatt/icecream 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miette-derive v7.4.0 [INFO] [stderr] Downloaded owo-colors v4.1.0 [INFO] [stderr] Downloaded miette v7.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ec9a68b9933d859811d8bc78007884b7b5e3f8780a88dadeb493d6e55d5246d [INFO] running `Command { std: "docker" "start" "-a" "6ec9a68b9933d859811d8bc78007884b7b5e3f8780a88dadeb493d6e55d5246d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ec9a68b9933d859811d8bc78007884b7b5e3f8780a88dadeb493d6e55d5246d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec9a68b9933d859811d8bc78007884b7b5e3f8780a88dadeb493d6e55d5246d", kill_on_drop: false }` [INFO] [stdout] 6ec9a68b9933d859811d8bc78007884b7b5e3f8780a88dadeb493d6e55d5246d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3d65356f251dce99fb3c673c7a1d41d7274afee6ed16052096a6c5906a654f8 [INFO] running `Command { std: "docker" "start" "-a" "d3d65356f251dce99fb3c673c7a1d41d7274afee6ed16052096a6c5906a654f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Checking thiserror v2.0.11 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking miette v7.4.0 [INFO] [stderr] Checking icecream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/vm.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 539 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 547 | Continuation::Continue [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/vm.rs:547:9 [INFO] [stdout] | [INFO] [stdout] 539 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 547 | Continuation::Continue [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expected` is never read [INFO] [stdout] --> src/parser.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub expected: TokenKind, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `got` is never read [INFO] [stdout] --> src/parser.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub got: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/parser.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | pub src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | pub token: TokenKind, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/parser.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | pub loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/parser.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | pub src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `expected` is never read [INFO] [stdout] --> src/parser.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub expected: TokenKind, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `got` is never read [INFO] [stdout] --> src/parser.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub got: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/parser.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | pub src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/syntax.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | SyntaxKind::Object(vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | pub token: TokenKind, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/parser.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | pub loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/parser.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | pub src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parameters` is never read [INFO] [stdout] --> src/syntax.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | parameters: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:355:3 [INFO] [stdout] | [INFO] [stdout] 355 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:358:3 [INFO] [stdout] | [INFO] [stdout] 358 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/syntax.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | SyntaxKind::Object(vec) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parameters` is never read [INFO] [stdout] --> src/syntax.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | parameters: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:145:3 [INFO] [stdout] | [INFO] [stdout] 145 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/vm.rs:538:27 [INFO] [stdout] | [INFO] [stdout] 538 | Bytecode::NewObject(len) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `captures` is never used [INFO] [stdout] --> src/closure_conversion.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 39 | impl ScopeContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn captures(self: Rc) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `loc` is never read [INFO] [stdout] --> src/syntax.rs:355:3 [INFO] [stdout] | [INFO] [stdout] 355 | loc: crate::loc::Loc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `src` is never read [INFO] [stdout] --> src/syntax.rs:358:3 [INFO] [stdout] | [INFO] [stdout] 358 | src: crate::loc::Source, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/vm.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | Self(unsafe { std::mem::transmute(float) }) [INFO] [stdout] | -------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(*self.prototype).proto.constant_pool[idx] } [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec` [INFO] [stdout] --> src/vm.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(*self.prototype).proto.constant_pool[idx] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(&(*self.prototype).proto.constant_pool)[idx] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(*self.prototype).proto.constant_pool[idx] } [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(&(*self.prototype).proto).constant_pool[idx] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (*self.prototype).proto.code[self.ip] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec` [INFO] [stdout] --> src/vm.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (*self.prototype).proto.code[self.ip] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (&(*self.prototype).proto.code)[self.ip] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (*self.prototype).proto.code[self.ip] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (&(*self.prototype).proto).code[self.ip] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:521:32 [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(*self.prototype).proto.prototypes[idx] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/vm.rs:521:32 [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(*self.prototype).proto.prototypes[idx] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(&(*self.prototype).proto.prototypes)[idx] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:521:32 [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(*self.prototype).proto.prototypes[idx] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(&(*self.prototype).proto).prototypes[idx] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | sal.push_frame(unsafe { (*partial).proto.locals as usize }); [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Partial` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 615 | sal.push_frame(unsafe { (&(*partial).proto).locals as usize }); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:641:39 [INFO] [stdout] | [INFO] [stdout] 641 | let locals_len = unsafe { (*closure).proto.locals as usize }; [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 641 | let locals_len = unsafe { (&(*closure).proto).locals as usize }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:642:34 [INFO] [stdout] | [INFO] [stdout] 642 | let arity = unsafe { (*closure).proto.arity }; [INFO] [stdout] | ^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 642 | let arity = unsafe { (&(*closure).proto).arity }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/vm.rs:538:27 [INFO] [stdout] | [INFO] [stdout] 538 | Bytecode::NewObject(len) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `captures` is never used [INFO] [stdout] --> src/closure_conversion.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 39 | impl ScopeContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn captures(self: Rc) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icecream` (lib) due to 9 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/vm.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | Self(unsafe { std::mem::transmute(float) }) [INFO] [stdout] | -------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(*self.prototype).proto.constant_pool[idx] } [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec` [INFO] [stdout] --> src/vm.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(*self.prototype).proto.constant_pool[idx] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(&(*self.prototype).proto.constant_pool)[idx] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(*self.prototype).proto.constant_pool[idx] } [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(&(*self.prototype).proto).constant_pool[idx] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (*self.prototype).proto.code[self.ip] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec` [INFO] [stdout] --> src/vm.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (*self.prototype).proto.code[self.ip] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (&(*self.prototype).proto.code)[self.ip] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (*self.prototype).proto.code[self.ip] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 447 | let bytecode = unsafe { (&(*self.prototype).proto).code[self.ip] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:521:32 [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(*self.prototype).proto.prototypes[idx] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec>` [INFO] [stdout] --> src/vm.rs:521:32 [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(*self.prototype).proto.prototypes[idx] }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(&(*self.prototype).proto.prototypes)[idx] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:521:32 [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(*self.prototype).proto.prototypes[idx] }; [INFO] [stdout] | ^^--------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 521 | let lambda = unsafe { &(&(*self.prototype).proto).prototypes[idx] }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | sal.push_frame(unsafe { (*partial).proto.locals as usize }); [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Partial` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 615 | sal.push_frame(unsafe { (&(*partial).proto).locals as usize }); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:641:39 [INFO] [stdout] | [INFO] [stdout] 641 | let locals_len = unsafe { (*closure).proto.locals as usize }; [INFO] [stdout] | ^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 641 | let locals_len = unsafe { (&(*closure).proto).locals as usize }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/vm.rs:642:34 [INFO] [stdout] | [INFO] [stdout] 642 | let arity = unsafe { (*closure).proto.arity }; [INFO] [stdout] | ^^-------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const Closure` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] = note: references are created through calls to explicit `Deref(Mut)::deref(_mut)` implementations [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 642 | let arity = unsafe { (&(*closure).proto).arity }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icecream` (lib test) due to 9 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d3d65356f251dce99fb3c673c7a1d41d7274afee6ed16052096a6c5906a654f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d65356f251dce99fb3c673c7a1d41d7274afee6ed16052096a6c5906a654f8", kill_on_drop: false }` [INFO] [stdout] d3d65356f251dce99fb3c673c7a1d41d7274afee6ed16052096a6c5906a654f8