[INFO] fetching crate lox-lang 0.0.3...
[INFO] checking lox-lang-0.0.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate lox-lang 0.0.3 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate lox-lang 0.0.3
[INFO] finished tweaking crates.io crate lox-lang 0.0.3
[INFO] tweaked toml for crates.io crate lox-lang 0.0.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lox-lang 0.0.3 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lox-lang 0.0.3 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] afefaeadd1df77c219f04b05b9c3be9dc494766613e5e3ad466c66448403c3b0
[INFO] running `Command { std: "docker" "start" "-a" "afefaeadd1df77c219f04b05b9c3be9dc494766613e5e3ad466c66448403c3b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "afefaeadd1df77c219f04b05b9c3be9dc494766613e5e3ad466c66448403c3b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afefaeadd1df77c219f04b05b9c3be9dc494766613e5e3ad466c66448403c3b0", kill_on_drop: false }`
[INFO] [stdout] afefaeadd1df77c219f04b05b9c3be9dc494766613e5e3ad466c66448403c3b0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec72de5b8b62dac669cb1874cab30d608e50b943fc4b10c3d2455eb143fd412b
[INFO] running `Command { std: "docker" "start" "-a" "ec72de5b8b62dac669cb1874cab30d608e50b943fc4b10c3d2455eb143fd412b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.19
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling fs_extra v1.1.0
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking os_str_bytes v2.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.12
[INFO] [stderr]    Compiling proc-macro-error v0.4.12
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling jemalloc-sys v0.3.2
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.4
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking term v0.6.1
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking simplelog v0.7.6
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.1
[INFO] [stderr]     Checking clap v3.0.0-beta.1
[INFO] [stderr]     Checking jemallocator v0.3.2
[INFO] [stderr]     Checking lox-lang v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/compiler/wrapper.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub(super) struct ClassWrapper {
[INFO] [stdout]     |                   ------------ field in this struct
[INFO] [stdout] 101 |     pub(super) enclosing: Option<Box<Self>>,
[INFO] [stdout] 102 |     pub(super) name: Box<str>,
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClassWrapper` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CallStackOverflow` and `ValueStackOverflow` are never constructed
[INFO] [stdout]   --> src/vm/errors.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub(crate) enum RuntimeError {
[INFO] [stdout]    |                 ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     CallStackOverflow,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     ValueStackOverflow,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/compiler/mod.rs:893:22
[INFO] [stdout]     |
[INFO] [stdout] 893 |             (&**text).clone()
[INFO] [stdout]     |                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lox_core/obj.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Box::from_raw(self.0);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let _ = Box::from_raw(self.0);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/compiler/wrapper.rs:102:16
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub(super) struct ClassWrapper {
[INFO] [stdout]     |                   ------------ field in this struct
[INFO] [stdout] 101 |     pub(super) enclosing: Option<Box<Self>>,
[INFO] [stdout] 102 |     pub(super) name: Box<str>,
[INFO] [stdout]     |                ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClassWrapper` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `CallStackOverflow` and `ValueStackOverflow` are never constructed
[INFO] [stdout]   --> src/vm/errors.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub(crate) enum RuntimeError {
[INFO] [stdout]    |                 ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     CallStackOverflow,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     ValueStackOverflow,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/compiler/mod.rs:893:22
[INFO] [stdout]     |
[INFO] [stdout] 893 |             (&**text).clone()
[INFO] [stdout]     |                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lox_core/obj.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Box::from_raw(self.0);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let _ = Box::from_raw(self.0);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/bin/loxi.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     script: Option<PathBuf>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lox-lang` (bin "loxi" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]   --> src/bin/loxi.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     script: Option<PathBuf>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lox-lang` (bin "loxi") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "ec72de5b8b62dac669cb1874cab30d608e50b943fc4b10c3d2455eb143fd412b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec72de5b8b62dac669cb1874cab30d608e50b943fc4b10c3d2455eb143fd412b", kill_on_drop: false }`
[INFO] [stdout] ec72de5b8b62dac669cb1874cab30d608e50b943fc4b10c3d2455eb143fd412b
