[INFO] cloning repository https://github.com/v4kst1z/TIP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/v4kst1z/TIP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fv4kst1z%2FTIP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fv4kst1z%2FTIP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71322981a1532112fb88bf47f2c2a98933e23ba5 [INFO] building v4kst1z/TIP against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fv4kst1z%2FTIP" "/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/v4kst1z/TIP on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/v4kst1z/TIP [INFO] finished tweaking git repo https://github.com/v4kst1z/TIP [INFO] tweaked toml for git repo https://github.com/v4kst1z/TIP written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e83ca56513e199c227974794e203fbe62a19e88fc659fc001a4a612fe8c64be1 [INFO] running `Command { std: "docker" "start" "-a" "e83ca56513e199c227974794e203fbe62a19e88fc659fc001a4a612fe8c64be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e83ca56513e199c227974794e203fbe62a19e88fc659fc001a4a612fe8c64be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e83ca56513e199c227974794e203fbe62a19e88fc659fc001a4a612fe8c64be1", kill_on_drop: false }` [INFO] [stdout] e83ca56513e199c227974794e203fbe62a19e88fc659fc001a4a612fe8c64be1 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 782fd631ca1666de1752b6a5b98169cff7b2218183bd3b3a5bcb9edcdc81db15 [INFO] running `Command { std: "docker" "start" "-a" "782fd631ca1666de1752b6a5b98169cff7b2218183bd3b3a5bcb9edcdc81db15", kill_on_drop: false }` [INFO] [stderr] Compiling lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stderr] Compiling parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stderr] Compiling type_analysis v0.1.0 (/opt/rustwide/workdir/type_analysis) [INFO] [stderr] Compiling cfg v0.1.0 (/opt/rustwide/workdir/cfg) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | a.clone(), constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 96 - a.clone(), constraints, env.borrow() [INFO] [stdout] 96 + a.clone(), constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 136 - env.borrow() [INFO] [stdout] 136 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | expr.clone(), constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 157 - expr.clone(), constraints, env.borrow() [INFO] [stdout] 157 + expr.clone(), constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 188 - env.borrow() [INFO] [stdout] 188 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 204 - env.borrow() [INFO] [stdout] 204 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 209 - env.borrow() [INFO] [stdout] 209 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:247:43 [INFO] [stdout] | [INFO] [stdout] 247 | stmt, constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 247 - stmt, constraints, env.borrow() [INFO] [stdout] 247 + stmt, constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:258:89 [INFO] [stdout] | [INFO] [stdout] 258 | constraints = generate_type_constraints_from_stmt(stmt, constraints, env.borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 258 - constraints = generate_type_constraints_from_stmt(stmt, constraints, env.borrow()); [INFO] [stdout] 258 + constraints = generate_type_constraints_from_stmt(stmt, constraints, env); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:265:43 [INFO] [stdout] | [INFO] [stdout] 265 | stmt, constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 265 - stmt, constraints, env.borrow() [INFO] [stdout] 265 + stmt, constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:271:47 [INFO] [stdout] | [INFO] [stdout] 271 | stmt, constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 271 - stmt, constraints, env.borrow() [INFO] [stdout] 271 + stmt, constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/type_check.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 113 | let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Expression` does not implement `Borrow`, so calling `borrow` on `&Expression` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 113 - let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] 113 + let expr_desc = unsafe { (*expr.as_ptr()).expr.borrow() }; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Expression`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/ast.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 + #[derive(Clone)] [INFO] [stdout] 138 | pub struct Expression { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/type_check.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Expression` does not implement `Borrow`, so calling `borrow` on `&Expression` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 126 - let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] 126 + let expr_desc = unsafe { (*expr.as_ptr()).expr.borrow() }; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Expression`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/ast.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 + #[derive(Clone)] [INFO] [stdout] 138 | pub struct Expression { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling TIP v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "782fd631ca1666de1752b6a5b98169cff7b2218183bd3b3a5bcb9edcdc81db15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782fd631ca1666de1752b6a5b98169cff7b2218183bd3b3a5bcb9edcdc81db15", kill_on_drop: false }` [INFO] [stdout] 782fd631ca1666de1752b6a5b98169cff7b2218183bd3b3a5bcb9edcdc81db15 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52f2569b5148ea3e0a8cfd570c60e1dc7d1fdbfbba4f9d6bed3ea6415c9f9985 [INFO] running `Command { std: "docker" "start" "-a" "52f2569b5148ea3e0a8cfd570c60e1dc7d1fdbfbba4f9d6bed3ea6415c9f9985", kill_on_drop: false }` [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | a.clone(), constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 96 - a.clone(), constraints, env.borrow() [INFO] [stdout] 96 + a.clone(), constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 136 - env.borrow() [INFO] [stdout] 136 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | expr.clone(), constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 157 - expr.clone(), constraints, env.borrow() [INFO] [stdout] 157 + expr.clone(), constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 188 - env.borrow() [INFO] [stdout] 188 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 204 - env.borrow() [INFO] [stdout] 204 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:209:20 [INFO] [stdout] | [INFO] [stdout] 209 | env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 209 - env.borrow() [INFO] [stdout] 209 + env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:247:43 [INFO] [stdout] | [INFO] [stdout] 247 | stmt, constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 247 - stmt, constraints, env.borrow() [INFO] [stdout] 247 + stmt, constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:258:89 [INFO] [stdout] | [INFO] [stdout] 258 | constraints = generate_type_constraints_from_stmt(stmt, constraints, env.borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 258 - constraints = generate_type_constraints_from_stmt(stmt, constraints, env.borrow()); [INFO] [stdout] 258 + constraints = generate_type_constraints_from_stmt(stmt, constraints, env); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:265:43 [INFO] [stdout] | [INFO] [stdout] 265 | stmt, constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 265 - stmt, constraints, env.borrow() [INFO] [stdout] 265 + stmt, constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/constraint.rs:271:47 [INFO] [stdout] | [INFO] [stdout] 271 | stmt, constraints, env.borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Symbols` does not implement `Borrow`, so calling `borrow` on `&Symbols` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 271 - stmt, constraints, env.borrow() [INFO] [stdout] 271 + stmt, constraints, env [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Symbols`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/symbol.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub struct Symbols { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling TIP v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/type_check.rs:113:54 [INFO] [stdout] | [INFO] [stdout] 113 | let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Expression` does not implement `Borrow`, so calling `borrow` on `&Expression` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 113 - let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] 113 + let expr_desc = unsafe { (*expr.as_ptr()).expr.borrow() }; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Expression`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/ast.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 + #[derive(Clone)] [INFO] [stdout] 138 | pub struct Expression { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> type_analysis/src/type_check.rs:126:54 [INFO] [stdout] | [INFO] [stdout] 126 | let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Expression` does not implement `Borrow`, so calling `borrow` on `&Expression` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 126 - let expr_desc = unsafe { (*expr.as_ptr()).borrow().expr.borrow() }; [INFO] [stdout] 126 + let expr_desc = unsafe { (*expr.as_ptr()).expr.borrow() }; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Expression`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/parser/src/ast.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 + #[derive(Clone)] [INFO] [stdout] 138 | pub struct Expression { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "52f2569b5148ea3e0a8cfd570c60e1dc7d1fdbfbba4f9d6bed3ea6415c9f9985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f2569b5148ea3e0a8cfd570c60e1dc7d1fdbfbba4f9d6bed3ea6415c9f9985", kill_on_drop: false }` [INFO] [stdout] 52f2569b5148ea3e0a8cfd570c60e1dc7d1fdbfbba4f9d6bed3ea6415c9f9985