[INFO] fetching crate ucg 0.7.2... [INFO] testing ucg-0.7.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ucg 0.7.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate ucg 0.7.2 [INFO] finished tweaking crates.io crate ucg 0.7.2 [INFO] tweaked toml for crates.io crate ucg 0.7.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ucg 0.7.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ucg 0.7.2 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded abortable_parser v0.2.3 [INFO] [stderr] Downloaded simple-error v0.1.12 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f679a4a130ff2e84549a03cfd2bcc7e98396437373ec35819fe2ff67db41e66c [INFO] running `Command { std: "docker" "start" "-a" "f679a4a130ff2e84549a03cfd2bcc7e98396437373ec35819fe2ff67db41e66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f679a4a130ff2e84549a03cfd2bcc7e98396437373ec35819fe2ff67db41e66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f679a4a130ff2e84549a03cfd2bcc7e98396437373ec35819fe2ff67db41e66c", kill_on_drop: false }` [INFO] [stdout] f679a4a130ff2e84549a03cfd2bcc7e98396437373ec35819fe2ff67db41e66c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b8046152b7f7ec367e102d46dcfd50ead378abb1db31bca104c585b86dfac26 [INFO] running `Command { std: "docker" "start" "-a" "3b8046152b7f7ec367e102d46dcfd50ead378abb1db31bca104c585b86dfac26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling walkdir v2.2.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling textwrap v0.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling ucg v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling simple-error v0.1.12 [INFO] [stderr] Compiling clap v2.26.2 [INFO] [stderr] Compiling abortable_parser v0.2.3 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling rustyline v4.1.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokenizer/mod.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | pub fn token_clone(t: &Token) -> std::result::Result>> { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 570 | pub fn token_clone(t: &Token) -> std::result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/mod.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | environment: self.environment.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] 125 - environment: self.environment.clone(), [INFO] [stdout] 125 + environment: self.environment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:424:66 [INFO] [stdout] | [INFO] [stdout] 424 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 424 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 424 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:441:66 [INFO] [stdout] | [INFO] [stdout] 441 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 441 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 441 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:473:66 [INFO] [stdout] | [INFO] [stdout] 473 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 473 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 473 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:536:66 [INFO] [stdout] | [INFO] [stdout] 536 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 536 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 536 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:562:66 [INFO] [stdout] | [INFO] [stdout] 562 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 562 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 562 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:584:66 [INFO] [stdout] | [INFO] [stdout] 584 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 584 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 584 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:687:66 [INFO] [stdout] | [INFO] [stdout] 687 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 687 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 687 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:704:66 [INFO] [stdout] | [INFO] [stdout] 704 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 704 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 704 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:717:66 [INFO] [stdout] | [INFO] [stdout] 717 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 717 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 717 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/vm.rs:549:78 [INFO] [stdout] | [INFO] [stdout] 549 | Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env.clone(), &self.import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 549 - Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env.clone(), &self.import_stack))?; [INFO] [stdout] 549 + Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env, &self.import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | fn symbol_to_value(s: &Token) -> ConvertResult { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn symbol_to_value(s: &Token) -> ConvertResult<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | fn str_to_value(s: &Token) -> ConvertResult { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn str_to_value(s: &Token) -> ConvertResult<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse/precedence.rs:396:61 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn op_expression<'a>(i: SliceIter<'a, Token>) -> Result, Expression> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 396 | pub fn op_expression<'a>(i: SliceIter<'a, Token>) -> Result, Expression> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.45s [INFO] running `Command { std: "docker" "inspect" "3b8046152b7f7ec367e102d46dcfd50ead378abb1db31bca104c585b86dfac26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b8046152b7f7ec367e102d46dcfd50ead378abb1db31bca104c585b86dfac26", kill_on_drop: false }` [INFO] [stdout] 3b8046152b7f7ec367e102d46dcfd50ead378abb1db31bca104c585b86dfac26 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c620e468455618f390a76a8ddc69768a1a7a3e2b9f2b3dfd6f1e3e7ca581f26a [INFO] running `Command { std: "docker" "start" "-a" "c620e468455618f390a76a8ddc69768a1a7a3e2b9f2b3dfd6f1e3e7ca581f26a", kill_on_drop: false }` [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokenizer/mod.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | pub fn token_clone(t: &Token) -> std::result::Result>> { [INFO] [stdout] | ^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 570 | pub fn token_clone(t: &Token) -> std::result::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/mod.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | environment: self.environment.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` 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] 125 - environment: self.environment.clone(), [INFO] [stdout] 125 + environment: self.environment, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:424:66 [INFO] [stdout] | [INFO] [stdout] 424 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 424 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 424 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:441:66 [INFO] [stdout] | [INFO] [stdout] 441 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 441 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 441 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:473:66 [INFO] [stdout] | [INFO] [stdout] 473 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 473 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 473 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:536:66 [INFO] [stdout] | [INFO] [stdout] 536 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 536 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 536 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:562:66 [INFO] [stdout] | [INFO] [stdout] 562 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 562 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 562 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:584:66 [INFO] [stdout] | [INFO] [stdout] 584 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 584 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 584 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:687:66 [INFO] [stdout] | [INFO] [stdout] 687 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 687 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 687 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:704:66 [INFO] [stdout] | [INFO] [stdout] 704 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 704 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 704 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/runtime.rs:717:66 [INFO] [stdout] | [INFO] [stdout] 717 | VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 717 - VM::fcall_impl(f, self.strict, stack, env.clone(), import_stack))?; [INFO] [stdout] 717 + VM::fcall_impl(f, self.strict, stack, env, import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/build/opcode/vm.rs:549:78 [INFO] [stdout] | [INFO] [stdout] 549 | Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env.clone(), &self.import_stack))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `RefCell>` does not implement `Clone`, so calling `clone` on `&RefCell>` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 549 - Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env.clone(), &self.import_stack))?; [INFO] [stdout] 549 + Self::fcall_impl(f, self.runtime.strict, &mut self.stack, env, &self.import_stack))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | fn symbol_to_value(s: &Token) -> ConvertResult { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | fn symbol_to_value(s: &Token) -> ConvertResult<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | fn str_to_value(s: &Token) -> ConvertResult { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn str_to_value(s: &Token) -> ConvertResult<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse/precedence.rs:396:61 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn op_expression<'a>(i: SliceIter<'a, Token>) -> Result, Expression> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 396 | pub fn op_expression<'a>(i: SliceIter<'a, Token>) -> Result, Expression> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ucg v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/tuple_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | assert_build(include_str!("../../integration_tests/tuple_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/list_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | assert_build(include_str!("../../integration_tests/list_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/comparisons_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | assert_build(include_str!("../../integration_tests/comparisons_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/func_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | assert_build(include_str!("../../integration_tests/func_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/modules_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | assert_build(include_str!("../../integration_tests/modules_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/selectors_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | assert_build(include_str!("../../integration_tests/selectors_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/empty_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | assert_build(include_str!("../../integration_tests/empty_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/select_expressions_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | assert_build(include_str!( [INFO] [stdout] | __________________^ [INFO] [stdout] 119 | | "../../integration_tests/select_expressions_test.ucg" [INFO] [stdout] 120 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/operator_precedence_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:125:18 [INFO] [stdout] | [INFO] [stdout] 125 | assert_build(include_str!( [INFO] [stdout] | __________________^ [INFO] [stdout] 126 | | "../../integration_tests/operator_precedence_test.ucg" [INFO] [stdout] 127 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/functional_processing_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | assert_build(include_str!( [INFO] [stdout] | __________________^ [INFO] [stdout] 133 | | "../../integration_tests/functional_processing_test.ucg" [INFO] [stdout] 134 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/concatenation_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | assert_build(include_str!( [INFO] [stdout] | __________________^ [INFO] [stdout] 140 | | "../../integration_tests/concatenation_test.ucg" [INFO] [stdout] 141 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/format_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:146:18 [INFO] [stdout] | [INFO] [stdout] 146 | assert_build(include_str!("../../integration_tests/format_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/build/../../integration_tests/types_test.ucg`: No such file or directory (os error 2) [INFO] [stdout] --> src/build/compile_test.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | assert_build(include_str!("../../integration_tests/types_test.ucg")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ucg` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "c620e468455618f390a76a8ddc69768a1a7a3e2b9f2b3dfd6f1e3e7ca581f26a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c620e468455618f390a76a8ddc69768a1a7a3e2b9f2b3dfd6f1e3e7ca581f26a", kill_on_drop: false }` [INFO] [stdout] c620e468455618f390a76a8ddc69768a1a7a3e2b9f2b3dfd6f1e3e7ca581f26a