[INFO] fetching crate goscript-types 0.1.0... [INFO] testing goscript-types-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate goscript-types 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate goscript-types 0.1.0 [INFO] finished tweaking crates.io crate goscript-types 0.1.0 [INFO] tweaked toml for crates.io crate goscript-types 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate goscript-types 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v5.1.0) [INFO] [stderr] Adding slotmap v0.4.3 (available: v1.0.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 373d7640e8ae95acefd65ff97f4b757f927437359f1d185f20e09d0ada2d9e60 [INFO] running `Command { std: "docker" "start" "-a" "373d7640e8ae95acefd65ff97f4b757f927437359f1d185f20e09d0ada2d9e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "373d7640e8ae95acefd65ff97f4b757f927437359f1d185f20e09d0ada2d9e60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373d7640e8ae95acefd65ff97f4b757f927437359f1d185f20e09d0ada2d9e60", kill_on_drop: false }` [INFO] [stdout] 373d7640e8ae95acefd65ff97f4b757f927437359f1d185f20e09d0ada2d9e60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f0e9c3dc027d92952fbc9c568ff72af017fc93c62ca90c3eed7308c77cfd769 [INFO] running `Command { std: "docker" "start" "-a" "9f0e9c3dc027d92952fbc9c568ff72af017fc93c62ca90c3eed7308c77cfd769", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling slotmap v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling goscript-parser v0.1.0 [INFO] [stderr] Compiling goscript-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `check::Checker` [INFO] [stdout] --> src/check/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use check::Checker; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IfaceInfo` [INFO] [stdout] --> src/check/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub use interface::{IfaceInfo, MethodInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constant.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn to_int(&self) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn to_int(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/obj.rs:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn id(&self, objs: &TCObjects) -> Cow { [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] 341 | pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow { [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] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typ.rs:748:24 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn all_methods(&self) -> Ref>> { [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] 748 | pub fn all_methods(&self) -> Ref<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typ.rs:752:28 [INFO] [stdout] | [INFO] [stdout] 752 | pub fn all_methods_mut(&self) -> RefMut>> { [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] 752 | pub fn all_methods_mut(&self) -> RefMut<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/check/check.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer { [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] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/check/typexpr.rs:621:61 [INFO] [stdout] | [INFO] [stdout] 621 | if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` 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] 621 - if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stdout] 621 + if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stdout] --> src/check/interface.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 + #[derive(Clone)] [INFO] [stdout] 132 | pub struct IfaceInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/check/typexpr.rs:643:55 [INFO] [stdout] | [INFO] [stdout] 643 | let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 643 - let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stdout] 643 + let info_ref = info.as_ref().unwrap().as_ref(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stdout] --> src/check/interface.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 + #[derive(Clone)] [INFO] [stdout] 132 | pub struct IfaceInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/check/typexpr.rs:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | drop(info_ref); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&IfaceInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 702 - drop(info_ref); [INFO] [stdout] 702 + let _ = info_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.57s [INFO] running `Command { std: "docker" "inspect" "9f0e9c3dc027d92952fbc9c568ff72af017fc93c62ca90c3eed7308c77cfd769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0e9c3dc027d92952fbc9c568ff72af017fc93c62ca90c3eed7308c77cfd769", kill_on_drop: false }` [INFO] [stdout] 9f0e9c3dc027d92952fbc9c568ff72af017fc93c62ca90c3eed7308c77cfd769 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e2959e561a7aca6c318487555ecb5581dc3dde095af38e8522f9771cc226935 [INFO] running `Command { std: "docker" "start" "-a" "2e2959e561a7aca6c318487555ecb5581dc3dde095af38e8522f9771cc226935", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stdout] warning: unused import: `check::Checker` [INFO] [stdout] --> src/check/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use check::Checker; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IfaceInfo` [INFO] [stdout] --> src/check/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub use interface::{IfaceInfo, MethodInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constant.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn to_int(&self) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn to_int(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/obj.rs:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn id(&self, objs: &TCObjects) -> Cow { [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] 341 | pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow { [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] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typ.rs:748:24 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn all_methods(&self) -> Ref>> { [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] 748 | pub fn all_methods(&self) -> Ref<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typ.rs:752:28 [INFO] [stdout] | [INFO] [stdout] 752 | pub fn all_methods_mut(&self) -> RefMut>> { [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] 752 | pub fn all_methods_mut(&self) -> RefMut<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/check/check.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer { [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] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/check/typexpr.rs:621:61 [INFO] [stdout] | [INFO] [stdout] 621 | if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` 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] 621 - if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stdout] 621 + if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stdout] --> src/check/interface.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 + #[derive(Clone)] [INFO] [stdout] 132 | pub struct IfaceInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/check/typexpr.rs:643:55 [INFO] [stdout] | [INFO] [stdout] 643 | let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 643 - let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stdout] 643 + let info_ref = info.as_ref().unwrap().as_ref(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stdout] --> src/check/interface.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 + #[derive(Clone)] [INFO] [stdout] 132 | pub struct IfaceInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/check/typexpr.rs:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | drop(info_ref); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&IfaceInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 702 - drop(info_ref); [INFO] [stdout] 702 + let _ = info_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling goscript-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `check::Checker` [INFO] [stdout] --> src/check/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub use check::Checker; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IfaceInfo` [INFO] [stdout] --> src/check/mod.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub use interface::{IfaceInfo, MethodInfo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/constant.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn to_int(&self) -> Cow { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 223 | pub fn to_int(&self) -> Cow<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/obj.rs:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn id(&self, objs: &TCObjects) -> Cow { [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] 341 | pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow { [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] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typ.rs:748:24 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn all_methods(&self) -> Ref>> { [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] 748 | pub fn all_methods(&self) -> Ref<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typ.rs:752:28 [INFO] [stdout] | [INFO] [stdout] 752 | pub fn all_methods_mut(&self) -> RefMut>> { [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] 752 | pub fn all_methods_mut(&self) -> RefMut<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/check/check.rs:450:25 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer { [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] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/check/typexpr.rs:621:61 [INFO] [stdout] | [INFO] [stdout] 621 | if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` 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] 621 - if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stdout] 621 + if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stdout] --> src/check/interface.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 + #[derive(Clone)] [INFO] [stdout] 132 | pub struct IfaceInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/check/typexpr.rs:643:55 [INFO] [stdout] | [INFO] [stdout] 643 | let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 643 - let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stdout] 643 + let info_ref = info.as_ref().unwrap().as_ref(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stdout] --> src/check/interface.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 + #[derive(Clone)] [INFO] [stdout] 132 | pub struct IfaceInfo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/check/typexpr.rs:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | drop(info_ref); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&IfaceInfo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 702 - drop(info_ref); [INFO] [stdout] 702 + let _ = info_ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.46s [INFO] running `Command { std: "docker" "inspect" "2e2959e561a7aca6c318487555ecb5581dc3dde095af38e8522f9771cc226935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2959e561a7aca6c318487555ecb5581dc3dde095af38e8522f9771cc226935", kill_on_drop: false }` [INFO] [stdout] 2e2959e561a7aca6c318487555ecb5581dc3dde095af38e8522f9771cc226935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b85b4f89119f76f6cb4ad3d5b4e53e3690da62164ea0fac05e361042ef7da85e [INFO] running `Command { std: "docker" "start" "-a" "b85b4f89119f76f6cb4ad3d5b4e53e3690da62164ea0fac05e361042ef7da85e", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `check::Checker` [INFO] [stderr] --> src/check/mod.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub use check::Checker; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `IfaceInfo` [INFO] [stderr] --> src/check/mod.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | pub use interface::{IfaceInfo, MethodInfo}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/constant.rs:223:19 [INFO] [stderr] | [INFO] [stderr] 223 | pub fn to_int(&self) -> Cow { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 223 | pub fn to_int(&self) -> Cow<'_, Value> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/obj.rs:341:15 [INFO] [stderr] | [INFO] [stderr] 341 | pub fn id(&self, objs: &TCObjects) -> Cow { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 341 | pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/objects.rs:54:29 [INFO] [stderr] | [INFO] [stderr] 54 | fn default_fmt_qualifier(p: &Package) -> Cow { [INFO] [stderr] | ^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/typ.rs:748:24 [INFO] [stderr] | [INFO] [stderr] 748 | pub fn all_methods(&self) -> Ref>> { [INFO] [stderr] | ^^^^^ ------------------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 748 | pub fn all_methods(&self) -> Ref<'_, Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/typ.rs:752:28 [INFO] [stderr] | [INFO] [stderr] 752 | pub fn all_methods_mut(&self) -> RefMut>> { [INFO] [stderr] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 752 | pub fn all_methods_mut(&self) -> RefMut<'_, Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/check/check.rs:450:25 [INFO] [stderr] | [INFO] [stderr] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer { [INFO] [stderr] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 450 | pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/check/typexpr.rs:621:61 [INFO] [stderr] | [INFO] [stderr] 621 | if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 621 - if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() { [INFO] [stderr] 621 + if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stderr] --> src/check/interface.rs:131:1 [INFO] [stderr] | [INFO] [stderr] 131 + #[derive(Clone)] [INFO] [stderr] 132 | pub struct IfaceInfo { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/check/typexpr.rs:643:55 [INFO] [stderr] | [INFO] [stderr] 643 | let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 643 - let info_ref = info.as_ref().unwrap().as_ref().borrow(); [INFO] [stderr] 643 + let info_ref = info.as_ref().unwrap().as_ref(); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `IfaceInfo`, implement `Clone` for it [INFO] [stderr] --> src/check/interface.rs:131:1 [INFO] [stderr] | [INFO] [stderr] 131 + #[derive(Clone)] [INFO] [stderr] 132 | pub struct IfaceInfo { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/check/typexpr.rs:702:9 [INFO] [stderr] | [INFO] [stderr] 702 | drop(info_ref); [INFO] [stderr] | ^^^^^--------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&IfaceInfo` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 702 - drop(info_ref); [INFO] [stderr] 702 + let _ = info_ref; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `goscript-types` (lib) generated 11 warnings (run `cargo fix --lib -p goscript-types` to apply 10 suggestions) [INFO] [stderr] warning: `goscript-types` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/goscript_types-3e81be639674eb91) [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-de83abec9d4b2ec0) [INFO] [stdout] test constant::test::test_str_unquote ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_temp ... ok [INFO] [stdout] test test_auto ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_auto stdout ---- [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/builtins.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/const0.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/const1.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/constdecl.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/conversions.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/conversions2.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles1.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles2.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles3.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles4.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles5.gos" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls0.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls1.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls2" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls3.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls4.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls5.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/errors.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/expr0.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/expr2.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/expr3.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/gotos.src" [INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/importdecl0" [INFO] [stdout] [INFO] [stdout] thread 'test_auto' (27) panicked at tests/test.rs:105:17: [INFO] [stdout] unexpected error(1): [TC] tests/data/importdecl0/importdecl0b.src:11:8 unsafe imported but not used [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x583165807b22 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x583165807b22 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x583165807b22 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x583165807b22 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58316582b75f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58316582b75f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5831657f4a13 - std::io::default_write_fmt::h6f3360f4711e9130 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5831657f4a13 - std::io::Write::write_fmt::hf4539125c0e0bc30 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x583165808172 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5831657f2fbc - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5831657f2e34 - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x583165345f3e - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x583165345f3e - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5831657f3c63 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5831657f3c63 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x583165807f7a - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x583165807ed9 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5831657f38bd - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x583165834380 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x58316532ccbd - test::test_file::hb89055c356a76909 [INFO] [stdout] at /opt/rustwide/workdir/tests/test.rs:105:17 [INFO] [stdout] 20: 0x58316532d8fe - test::test_auto::h243908fbbbf2598c [INFO] [stdout] at /opt/rustwide/workdir/tests/test.rs:184:5 [INFO] [stdout] 21: 0x58316532cd47 - test::test_auto::{{closure}}::h9a20cf2613873c3f [INFO] [stdout] at /opt/rustwide/workdir/tests/test.rs:159:15 [INFO] [stdout] 22: 0x5831653264a6 - core::ops::function::FnOnce::call_once::h6f161b8f3dd22fc7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x583165346fbb - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x583165346fbb - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x583165344c25 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x583165344c25 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x583165344c25 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x583165344c25 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x583165344c25 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x583165344c25 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x583165344c25 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x58316536bb34 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x58316536bb34 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x58316535274a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x58316535274a - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x58316535274a - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x58316535274a - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x58316535274a - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x58316535274a - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x58316535274a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 41: 0x5831657dd86f - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 42: 0x5831657dd86f - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 43: 0x7ee16122eaa4 - [INFO] [stdout] 44: 0x7ee1612bba34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_auto [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test` [INFO] running `Command { std: "docker" "inspect" "b85b4f89119f76f6cb4ad3d5b4e53e3690da62164ea0fac05e361042ef7da85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b85b4f89119f76f6cb4ad3d5b4e53e3690da62164ea0fac05e361042ef7da85e", kill_on_drop: false }` [INFO] [stdout] b85b4f89119f76f6cb4ad3d5b4e53e3690da62164ea0fac05e361042ef7da85e