[INFO] cloning repository https://github.com/rfsmi/interp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rfsmi/interp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frfsmi%2Finterp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frfsmi%2Finterp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7bffddd1bf14d262a871d9fbea285848f4f2405 [INFO] checking rfsmi/interp against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frfsmi%2Finterp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rfsmi/interp on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rfsmi/interp [INFO] finished tweaking git repo https://github.com/rfsmi/interp [INFO] tweaked toml for git repo https://github.com/rfsmi/interp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rfsmi/interp 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b6bba898ba993ab81fb6a7b9294f3a77306e8f17299bdff4e63a0f13725d2de [INFO] running `Command { std: "docker" "start" "-a" "6b6bba898ba993ab81fb6a7b9294f3a77306e8f17299bdff4e63a0f13725d2de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b6bba898ba993ab81fb6a7b9294f3a77306e8f17299bdff4e63a0f13725d2de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6bba898ba993ab81fb6a7b9294f3a77306e8f17299bdff4e63a0f13725d2de", kill_on_drop: false }` [INFO] [stdout] 6b6bba898ba993ab81fb6a7b9294f3a77306e8f17299bdff4e63a0f13725d2de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45bc98aaeb578d3e83a4a722e6db72c06fffc96650561a2c507495510d093ac9 [INFO] running `Command { std: "docker" "start" "-a" "45bc98aaeb578d3e83a4a722e6db72c06fffc96650561a2c507495510d093ac9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking interp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> src/object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> src/object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/object.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/object.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `function_mut` is never used [INFO] [stdout] --> src/pool.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 71 | impl<'pool> ObjectPool { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn [<$($kind)*:lower _mut>](&'pool mut self, value: Value) -> &'pool mut $($kind)* { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | decl_getters!(Function); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `decl_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | struct SourceLocation(Range); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/token.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 60 | kind: Kind, [INFO] [stdout] 61 | location: SourceLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/token.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Tokens<'source> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 129 | source: &'source str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Nil` is never constructed [INFO] [stdout] --> src/value.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 3 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Branch` is never constructed [INFO] [stdout] --> src/vm.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 4 | enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Branch { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Function` and `Thread` are never constructed [INFO] [stdout] --> src/object.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 10 | Function(Function), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | Thread(Thread), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `references` and `references_mut` are never used [INFO] [stdout] --> src/object.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Object { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 15 | pub fn references(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn references_mut(&mut self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectPool` is never constructed [INFO] [stdout] --> src/pool.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ObjectPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `allocate`, `compact`, and `to_string` are never used [INFO] [stdout] --> src/pool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ObjectPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn allocate(&mut self, object: Object) -> Value { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn compact(&mut self, root: Value) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn to_string(&self, value: &Value) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `function` and `function_mut` are never used [INFO] [stdout] --> src/pool.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 71 | impl<'pool> ObjectPool { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 72 | pub fn [<$($kind)*:lower>](&'pool self, value: Value) -> &'pool $($kind)* { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn [<$($kind)*:lower _mut>](&'pool mut self, value: Value) -> &'pool mut $($kind)* { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | decl_getters!(Function); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decl_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `thread` and `thread_mut` are never used [INFO] [stdout] --> src/pool.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 71 | impl<'pool> ObjectPool { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 72 | pub fn [<$($kind)*:lower>](&'pool self, value: Value) -> &'pool $($kind)* { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn [<$($kind)*:lower _mut>](&'pool mut self, value: Value) -> &'pool mut $($kind)* { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | decl_getters!(Thread); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `decl_getters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr` and `stack_offset` are never read [INFO] [stdout] --> src/thread.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | pub addr: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub stack_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stack` and `frames` are never read [INFO] [stdout] --> src/thread.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Thread { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub frames: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/thread.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Thread { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(start: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn advance(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn done(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn get(&self, i: usize) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn pop(&mut self) -> Value { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn peek(&self) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn pop_n(&mut self, n: usize) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn push(&mut self, value: Value) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn ret(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn call(&mut self, function: Function) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | struct SourceLocation(Range); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/token.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 60 | kind: Kind, [INFO] [stdout] 61 | location: SourceLocation, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/token.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Tokens<'source> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 129 | source: &'source str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Nil`, `Integer`, and `Object` are never constructed [INFO] [stdout] --> src/value.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | Object(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `integer` is never used [INFO] [stdout] --> src/value.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 9 | pub fn integer(&self) -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expr` is never used [INFO] [stdout] --> src/vm.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Expr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/vm.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `step`, `debug_step`, and `exec` are never used [INFO] [stdout] --> src/vm.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 36 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn step(&mut self, expr: Expr, thread: Value) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn debug_step(&self, exprs: &[Expr], addr: usize, thread: Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn exec(&mut self, exprs: &[Expr], entry: usize) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.70s [INFO] running `Command { std: "docker" "inspect" "45bc98aaeb578d3e83a4a722e6db72c06fffc96650561a2c507495510d093ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45bc98aaeb578d3e83a4a722e6db72c06fffc96650561a2c507495510d093ac9", kill_on_drop: false }` [INFO] [stdout] 45bc98aaeb578d3e83a4a722e6db72c06fffc96650561a2c507495510d093ac9