[INFO] cloning repository https://github.com/green-narofsky/stone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/green-narofsky/stone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreen-narofsky%2Fstone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreen-narofsky%2Fstone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ee4759de9f14233ea015741c9e5cff1edc57c0a [INFO] checking green-narofsky/stone against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgreen-narofsky%2Fstone" "/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/green-narofsky/stone on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/green-narofsky/stone [INFO] finished tweaking git repo https://github.com/green-narofsky/stone [INFO] tweaked toml for git repo https://github.com/green-narofsky/stone written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/green-narofsky/stone already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b0f1c9d2fb2e4b5d028806fd6cf6fff656bdec9edc0e7d3fcdb45b6e7192347 [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" "9b0f1c9d2fb2e4b5d028806fd6cf6fff656bdec9edc0e7d3fcdb45b6e7192347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0f1c9d2fb2e4b5d028806fd6cf6fff656bdec9edc0e7d3fcdb45b6e7192347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0f1c9d2fb2e4b5d028806fd6cf6fff656bdec9edc0e7d3fcdb45b6e7192347", kill_on_drop: false }` [INFO] [stdout] 9b0f1c9d2fb2e4b5d028806fd6cf6fff656bdec9edc0e7d3fcdb45b6e7192347 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd99fb932048bb655ff0346b5e146d24ff2ca5ef8069001f2a78239a473deb0e [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" "fd99fb932048bb655ff0346b5e146d24ff2ca5ef8069001f2a78239a473deb0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking tagged-refs v0.1.0 (/opt/rustwide/workdir/tagged-refs) [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling dynasm v1.0.0 [INFO] [stderr] Compiling structopt-derive v0.4.11 [INFO] [stderr] Checking structopt v0.3.18 [INFO] [stderr] Checking lasso v0.3.1 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking dynasmrt v1.0.0 [INFO] [stderr] Checking stone v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `::core::convert::TryFrom` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::core::convert::TryFrom` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::core::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/main.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 822 | fn ptr_replace(&mut self, dest: Pointer, src: Value) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/main.rs:822:46 [INFO] [stdout] | [INFO] [stdout] 822 | fn ptr_replace(&mut self, dest: Pointer, src: Value) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | fn string(input: &str) -> ::nom::IResult<&str, &[u8]> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | fn path(input: &str) -> ::nom::IResult<&str, PathBuf> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | Ok((input, CommandWord::Save)) => Ok(Command::SaveHello), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Ok((input, CommandWord::Load)) => Ok(Command::LoadHello), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/main.rs:822:31 [INFO] [stdout] | [INFO] [stdout] 822 | fn ptr_replace(&mut self, dest: Pointer, src: Value) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/main.rs:822:46 [INFO] [stdout] | [INFO] [stdout] 822 | fn ptr_replace(&mut self, dest: Pointer, src: Value) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | fn string(input: &str) -> ::nom::IResult<&str, &[u8]> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | fn path(input: &str) -> ::nom::IResult<&str, PathBuf> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | Ok((input, CommandWord::Save)) => Ok(Command::SaveHello), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parse.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Ok((input, CommandWord::Load)) => Ok(Command::LoadHello), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_x64_hello` [INFO] [stdout] --> src/jit.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn make_x64_hello() -> (dynasmrt::mmap::ExecutableBuffer, dynasmrt::AssemblyOffset) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `x64_hello` [INFO] [stdout] --> src/jit.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn x64_hello() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print` [INFO] [stdout] --> src/jit.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub extern "win64" fn print(buffer: *const u8, length: u64) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string` [INFO] [stdout] --> src/parse.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn string(input: &str) -> ::nom::IResult<&str, &[u8]> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path` [INFO] [stdout] --> src/parse.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn path(input: &str) -> ::nom::IResult<&str, PathBuf> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_unchecked` [INFO] [stdout] --> src/main.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) unsafe fn new_unchecked(val: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Signature` [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sig` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | $vis fn sig(&self) -> Signature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / prim_funcs! { [INFO] [stdout] 163 | | /// Primitive functions with no side effects. [INFO] [stdout] 164 | | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] 165 | | PrimitivePureFunction (?PrimParseError) { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | $vis fn eval(&self, args: Vec) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / prim_funcs! { [INFO] [stdout] 163 | | /// Primitive functions with no side effects. [INFO] [stdout] 164 | | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] 165 | | PrimitivePureFunction (?PrimParseError) { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/main.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | $vis fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / prim_funcs! { [INFO] [stdout] 163 | | /// Primitive functions with no side effects. [INFO] [stdout] 164 | | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] 165 | | PrimitivePureFunction (?PrimParseError) { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CallTree` [INFO] [stdout] --> src/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct CallTree {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PureFunction` [INFO] [stdout] --> src/main.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | struct PureFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SumType` [INFO] [stdout] --> src/main.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | struct SumType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SumValue` [INFO] [stdout] --> src/main.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | struct SumValue {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ProductType` [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | struct ProductType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_of` [INFO] [stdout] --> src/main.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | fn type_of(&self) -> Type { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/main.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn insert(&mut self, data: Vec) -> BinaryKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | fn get(&self, key: BinaryKey) -> Option<&[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/main.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | fn get_mut(&mut self, key: BinaryKey) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shared` [INFO] [stdout] --> src/main.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 363 | fn shared(&mut self) -> PointerId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique` [INFO] [stdout] --> src/main.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn unique(&mut self) -> PointerId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invalidate` [INFO] [stdout] --> src/main.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | fn invalidate(&mut self, invalidation: PointerInvalidation) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/main.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | fn is_valid(&self, kind: PointerKind, ptr: PointerId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OwningRead` [INFO] [stdout] --> src/main.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | OwningRead, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OwningMutate` [INFO] [stdout] --> src/main.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | OwningMutate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | fn new(value: Value, chunk_type: Type) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_val` [INFO] [stdout] --> src/main.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | fn from_val(value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/main.rs:499:8 [INFO] [stdout] | [INFO] [stdout] 499 | fn empty(next: Option) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `used` [INFO] [stdout] --> src/main.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | fn used(chunk: Chunk) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AllocError` [INFO] [stdout] --> src/main.rs:561:6 [INFO] [stdout] | [INFO] [stdout] 561 | enum AllocError {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TypeMismatch` [INFO] [stdout] --> src/main.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | TypeMismatch, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OverlappingLocations` [INFO] [stdout] --> src/main.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | OverlappingLocations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IdMismatch` [INFO] [stdout] --> src/main.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | IdMismatch, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WrongKind` [INFO] [stdout] --> src/main.rs:595:8 [INFO] [stdout] | [INFO] [stdout] 595 | struct WrongKind; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/main.rs:608:8 [INFO] [stdout] | [INFO] [stdout] 608 | fn insert(&mut self, val: Value) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_location` [INFO] [stdout] --> src/main.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | fn validate_location(&self, target: Location) -> Result<(), InvalidLocation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_chunk_mut` [INFO] [stdout] --> src/main.rs:656:8 [INFO] [stdout] | [INFO] [stdout] 656 | fn get_chunk_mut(&mut self, target: Location) -> Result<&mut Chunk, InvalidLocation> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_chunk` [INFO] [stdout] --> src/main.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | fn get_chunk(&self, target: Location) -> Result<&Chunk, InvalidLocation> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace` [INFO] [stdout] --> src/main.rs:672:8 [INFO] [stdout] | [INFO] [stdout] 672 | fn replace(&mut self, dest: Location, src: Value) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 681 | fn read(&mut self, src: Location) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap` [INFO] [stdout] --> src/main.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | fn swap(&mut self, x: Location, y: Location) -> Result<(), MutateError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/main.rs:780:8 [INFO] [stdout] | [INFO] [stdout] 780 | fn destroy(&mut self, target: Location) -> Result<(), InvalidLocation> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_ptr` [INFO] [stdout] --> src/main.rs:795:8 [INFO] [stdout] | [INFO] [stdout] 795 | fn make_ptr( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ptr_replace` [INFO] [stdout] --> src/main.rs:822:8 [INFO] [stdout] | [INFO] [stdout] 822 | fn ptr_replace(&mut self, dest: Pointer, src: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ptr_swap` [INFO] [stdout] --> src/main.rs:834:8 [INFO] [stdout] | [INFO] [stdout] 834 | fn ptr_swap(&mut self, dest: Pointer, src: Pointer) -> Result<(), WrongKind> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string` [INFO] [stdout] --> src/parse.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn string(input: &str) -> ::nom::IResult<&str, &[u8]> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path` [INFO] [stdout] --> src/parse.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn path(input: &str) -> ::nom::IResult<&str, PathBuf> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_unchecked` [INFO] [stdout] --> src/main.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) unsafe fn new_unchecked(val: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Signature` [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | struct Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sig` [INFO] [stdout] --> src/main.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | $vis fn sig(&self) -> Signature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / prim_funcs! { [INFO] [stdout] 163 | | /// Primitive functions with no side effects. [INFO] [stdout] 164 | | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] 165 | | PrimitivePureFunction (?PrimParseError) { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eval` [INFO] [stdout] --> src/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | $vis fn eval(&self, args: Vec) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / prim_funcs! { [INFO] [stdout] 163 | | /// Primitive functions with no side effects. [INFO] [stdout] 164 | | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] 165 | | PrimitivePureFunction (?PrimParseError) { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/main.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | $vis fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / prim_funcs! { [INFO] [stdout] 163 | | /// Primitive functions with no side effects. [INFO] [stdout] 164 | | #[derive(PartialEq, Eq, Debug)] [INFO] [stdout] 165 | | PrimitivePureFunction (?PrimParseError) { [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CallTree` [INFO] [stdout] --> src/main.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | struct CallTree {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PureFunction` [INFO] [stdout] --> src/main.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | struct PureFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SumType` [INFO] [stdout] --> src/main.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | struct SumType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SumValue` [INFO] [stdout] --> src/main.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 210 | struct SumValue {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ProductType` [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | struct ProductType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `type_of` [INFO] [stdout] --> src/main.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | fn type_of(&self) -> Type { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/main.rs:329:8 [INFO] [stdout] | [INFO] [stdout] 329 | fn insert(&mut self, data: Vec) -> BinaryKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/main.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | fn get(&self, key: BinaryKey) -> Option<&[u8]> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/main.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 337 | fn get_mut(&mut self, key: BinaryKey) -> Option<&mut Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shared` [INFO] [stdout] --> src/main.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 363 | fn shared(&mut self) -> PointerId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unique` [INFO] [stdout] --> src/main.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn unique(&mut self) -> PointerId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invalidate` [INFO] [stdout] --> src/main.rs:409:8 [INFO] [stdout] | [INFO] [stdout] 409 | fn invalidate(&mut self, invalidation: PointerInvalidation) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/main.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | fn is_valid(&self, kind: PointerKind, ptr: PointerId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OwningRead` [INFO] [stdout] --> src/main.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | OwningRead, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OwningMutate` [INFO] [stdout] --> src/main.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | OwningMutate, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | fn new(value: Value, chunk_type: Type) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_val` [INFO] [stdout] --> src/main.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 466 | fn from_val(value: Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/main.rs:499:8 [INFO] [stdout] | [INFO] [stdout] 499 | fn empty(next: Option) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `used` [INFO] [stdout] --> src/main.rs:505:8 [INFO] [stdout] | [INFO] [stdout] 505 | fn used(chunk: Chunk) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AllocError` [INFO] [stdout] --> src/main.rs:561:6 [INFO] [stdout] | [INFO] [stdout] 561 | enum AllocError {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TypeMismatch` [INFO] [stdout] --> src/main.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | TypeMismatch, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OverlappingLocations` [INFO] [stdout] --> src/main.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | OverlappingLocations, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IdMismatch` [INFO] [stdout] --> src/main.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | IdMismatch, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WrongKind` [INFO] [stdout] --> src/main.rs:595:8 [INFO] [stdout] | [INFO] [stdout] 595 | struct WrongKind; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/main.rs:608:8 [INFO] [stdout] | [INFO] [stdout] 608 | fn insert(&mut self, val: Value) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_location` [INFO] [stdout] --> src/main.rs:646:8 [INFO] [stdout] | [INFO] [stdout] 646 | fn validate_location(&self, target: Location) -> Result<(), InvalidLocation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_chunk_mut` [INFO] [stdout] --> src/main.rs:656:8 [INFO] [stdout] | [INFO] [stdout] 656 | fn get_chunk_mut(&mut self, target: Location) -> Result<&mut Chunk, InvalidLocation> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_chunk` [INFO] [stdout] --> src/main.rs:663:8 [INFO] [stdout] | [INFO] [stdout] 663 | fn get_chunk(&self, target: Location) -> Result<&Chunk, InvalidLocation> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace` [INFO] [stdout] --> src/main.rs:672:8 [INFO] [stdout] | [INFO] [stdout] 672 | fn replace(&mut self, dest: Location, src: Value) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 681 | fn read(&mut self, src: Location) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap` [INFO] [stdout] --> src/main.rs:757:8 [INFO] [stdout] | [INFO] [stdout] 757 | fn swap(&mut self, x: Location, y: Location) -> Result<(), MutateError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `destroy` [INFO] [stdout] --> src/main.rs:780:8 [INFO] [stdout] | [INFO] [stdout] 780 | fn destroy(&mut self, target: Location) -> Result<(), InvalidLocation> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_ptr` [INFO] [stdout] --> src/main.rs:795:8 [INFO] [stdout] | [INFO] [stdout] 795 | fn make_ptr( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ptr_replace` [INFO] [stdout] --> src/main.rs:822:8 [INFO] [stdout] | [INFO] [stdout] 822 | fn ptr_replace(&mut self, dest: Pointer, src: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ptr_swap` [INFO] [stdout] --> src/main.rs:834:8 [INFO] [stdout] | [INFO] [stdout] 834 | fn ptr_swap(&mut self, dest: Pointer, src: Pointer) -> Result<(), WrongKind> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.38s [INFO] running `Command { std: "docker" "inspect" "fd99fb932048bb655ff0346b5e146d24ff2ca5ef8069001f2a78239a473deb0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd99fb932048bb655ff0346b5e146d24ff2ca5ef8069001f2a78239a473deb0e", kill_on_drop: false }` [INFO] [stdout] fd99fb932048bb655ff0346b5e146d24ff2ca5ef8069001f2a78239a473deb0e