[INFO] cloning repository https://github.com/alex34567/scheme-oxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alex34567/scheme-oxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex34567%2Fscheme-oxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex34567%2Fscheme-oxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c57652784a5bab9693603ec5639b3256fceef0a9 [INFO] checking alex34567/scheme-oxide/c57652784a5bab9693603ec5639b3256fceef0a9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falex34567%2Fscheme-oxide" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alex34567/scheme-oxide on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alex34567/scheme-oxide [INFO] finished tweaking git repo https://github.com/alex34567/scheme-oxide [INFO] tweaked toml for git repo https://github.com/alex34567/scheme-oxide written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alex34567/scheme-oxide 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdf275606f1a72067d462c5559476e15cc4c42ccf2af0f18db6f8bea6391cdfe [INFO] running `Command { std: "docker" "start" "-a" "cdf275606f1a72067d462c5559476e15cc4c42ccf2af0f18db6f8bea6391cdfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdf275606f1a72067d462c5559476e15cc4c42ccf2af0f18db6f8bea6391cdfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf275606f1a72067d462c5559476e15cc4c42ccf2af0f18db6f8bea6391cdfe", kill_on_drop: false }` [INFO] [stdout] cdf275606f1a72067d462c5559476e15cc4c42ccf2af0f18db6f8bea6391cdfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36d94d7cb97aa1969fc7e5807af89c9428bef7e71c83cb1509a185873521540a [INFO] running `Command { std: "docker" "start" "-a" "36d94d7cb97aa1969fc7e5807af89c9428bef7e71c83cb1509a185873521540a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking scheme-oxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::string::StringSetError` [INFO] [stdout] --> src/types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use self::string::StringSetError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::string::StringSetError` [INFO] [stdout] --> src/types.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub use self::string::StringSetError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Traceable` is never used [INFO] [stdout] --> src/gc.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe trait Traceable: Sized { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_align` is never used [INFO] [stdout] --> src/gc.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn round_to_align(size: usize, align: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traceable_size` is never used [INFO] [stdout] --> src/gc.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn traceable_size(obj: &GcObj) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RootEntry` is never used [INFO] [stdout] --> src/gc.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | enum RootEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_option`, `get_free`, and `mut_option` are never used [INFO] [stdout] --> src/gc.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 93 | impl RootEntry { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 94 | fn to_option(self) -> Option<*const GcObjHead> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_free(self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn mut_option(&mut self) -> Option<&mut *const GcObjHead> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RootObject` is never constructed [INFO] [stdout] --> src/gc.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct RootObject<'a, T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_ptr` and `to_ref` are never used [INFO] [stdout] --> src/gc.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 125 | / impl<'a, T> RootObject<'a, T> [INFO] [stdout] 126 | | where [INFO] [stdout] 127 | | T: Traceable, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] 128 | { [INFO] [stdout] 129 | fn to_ptr(&self) -> *const GcObj { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | unsafe fn to_ref(&self) -> &GcObj { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GcHeap` is never constructed [INFO] [stdout] --> src/gc.rs:165:8 [INFO] [stdout] | [INFO] [stdout] 165 | struct GcHeap { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GcVtable` is never constructed [INFO] [stdout] --> src/gc.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct GcVtable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GcObjHead` is never constructed [INFO] [stdout] --> src/gc.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct GcObjHead { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `downcast_ref` and `downcast_ptr` are never used [INFO] [stdout] --> src/gc.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 184 | impl GcObjHead { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 185 | unsafe fn downcast_ref(&self) -> &GcObj [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn downcast_ptr(ptr: *const Self) -> *const GcObj [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GcObj` is never constructed [INFO] [stdout] --> src/gc.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub struct GcObj [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `erase_ptr` is never used [INFO] [stdout] --> src/gc.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 210 | / impl GcObj [INFO] [stdout] 211 | | where [INFO] [stdout] 212 | | T: Traceable, [INFO] [stdout] | |_________________- associated function in this implementation [INFO] [stdout] 213 | { [INFO] [stdout] 214 | fn erase_ptr(ptr: *const Self) -> *const GcObjHead { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `free_space`, `collect`, `make_root`, and `put_on_heap` are never used [INFO] [stdout] --> src/gc.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 219 | impl GcHeap { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 220 | fn new(heap_size: usize, root_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn free_space(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | unsafe fn collect(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | unsafe fn make_root(&self, obj: *const GcObj) -> RootObject [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | unsafe fn put_on_heap(&self, new_obj: T) -> Result, ()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | TokenizerError(TokenizerError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | TokenizerError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | EvalError(CompilerError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 | EvalError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | ReadError(ParserError), [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | ReadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `e_type` and `message` are never read [INFO] [stdout] --> src/interpreter/compiler/error.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CompilerError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | e_type: CompilerErrorType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | Err(e) => panic!(e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 49 | Err(e) => panic!("{}", e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `downcast_ref` is never used [INFO] [stdout] --> src/gc.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 184 | impl GcObjHead { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 185 | unsafe fn downcast_ref(&self) -> &GcObj [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | TokenizerError(TokenizerError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 55 | TokenizerError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | EvalError(CompilerError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 62 | EvalError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | ReadError(ParserError), [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | ReadError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `e_type` and `message` are never read [INFO] [stdout] --> src/interpreter/compiler/error.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CompilerError { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | e_type: CompilerErrorType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | Err(e) => panic!(e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 49 | Err(e) => panic!("{}", e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.71s [INFO] running `Command { std: "docker" "inspect" "36d94d7cb97aa1969fc7e5807af89c9428bef7e71c83cb1509a185873521540a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36d94d7cb97aa1969fc7e5807af89c9428bef7e71c83cb1509a185873521540a", kill_on_drop: false }` [INFO] [stdout] 36d94d7cb97aa1969fc7e5807af89c9428bef7e71c83cb1509a185873521540a