[INFO] cloning repository https://github.com/jacksoncooper/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacksoncooper/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksoncooper%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksoncooper%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c067a5a0f7fde6ddb27af0a8132311d830d428e [INFO] checking jacksoncooper/rlox against try#3ec2a775459d36c7d90654e47c56ff7bb0d542ab for pr-139087 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksoncooper%2Frlox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacksoncooper/rlox on toolchain 3ec2a775459d36c7d90654e47c56ff7bb0d542ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacksoncooper/rlox [INFO] finished tweaking git repo https://github.com/jacksoncooper/rlox [INFO] tweaked toml for git repo https://github.com/jacksoncooper/rlox written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jacksoncooper/rlox 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" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "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] 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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78dd9d29d10a1fb0360322252dc446bb3d721c17b6d9c9ff5720e365ce610c21 [INFO] running `Command { std: "docker" "start" "-a" "78dd9d29d10a1fb0360322252dc446bb3d721c17b6d9c9ff5720e365ce610c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78dd9d29d10a1fb0360322252dc446bb3d721c17b6d9c9ff5720e365ce610c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78dd9d29d10a1fb0360322252dc446bb3d721c17b6d9c9ff5720e365ce610c21", kill_on_drop: false }` [INFO] [stdout] 78dd9d29d10a1fb0360322252dc446bb3d721c17b6d9c9ff5720e365ce610c21 [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" "-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+3ec2a775459d36c7d90654e47c56ff7bb0d542ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5f0eb8c4917c265bb9b18d3a454c64cc93f491499c5e9011f4987c29b1e1fca [INFO] running `Command { std: "docker" "start" "-a" "d5f0eb8c4917c265bb9b18d3a454c64cc93f491499c5e9011f4987c29b1e1fca", kill_on_drop: false }` [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/environment.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | let value = Object::Number(Rc::new(4 as f64)); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ expected `f64`, found `Rc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `std::rc::Rc` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/object.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Number(f64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider dereferencing the type [INFO] [stdout] | [INFO] [stdout] 119 | let value = Object::Number(*Rc::new(4 as f64)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/interpreter.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | Return(Token, Object), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Unwind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 23 - Return(Token, Object), [INFO] [stdout] 23 + Return((), Object), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d5f0eb8c4917c265bb9b18d3a454c64cc93f491499c5e9011f4987c29b1e1fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f0eb8c4917c265bb9b18d3a454c64cc93f491499c5e9011f4987c29b1e1fca", kill_on_drop: false }` [INFO] [stdout] d5f0eb8c4917c265bb9b18d3a454c64cc93f491499c5e9011f4987c29b1e1fca