[INFO] fetching crate act 0.1.1... [INFO] testing act-0.1.1 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate act 0.1.1 into /workspace/builds/worker-54/source [INFO] validating manifest of crates.io crate act 0.1.1 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate act 0.1.1 [INFO] finished tweaking crates.io crate act 0.1.1 [INFO] tweaked toml for crates.io crate act 0.1.1 written to /workspace/builds/worker-54/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9533681567111ae9ea60753bad1082fd8470b31e0f3cea22faac25a8923c14f [INFO] running `Command { std: "docker" "start" "-a" "a9533681567111ae9ea60753bad1082fd8470b31e0f3cea22faac25a8923c14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9533681567111ae9ea60753bad1082fd8470b31e0f3cea22faac25a8923c14f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9533681567111ae9ea60753bad1082fd8470b31e0f3cea22faac25a8923c14f", kill_on_drop: false }` [INFO] [stdout] a9533681567111ae9ea60753bad1082fd8470b31e0f3cea22faac25a8923c14f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d27381f4860f2b62eef5f1af8a659d66a06f69934a81099b134067252b2246 [INFO] running `Command { std: "docker" "start" "-a" "54d27381f4860f2b62eef5f1af8a659d66a06f69934a81099b134067252b2246", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ansi-escapes v0.1.1 [INFO] [stderr] Compiling act v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / macro_rules! try_opt_res { [INFO] [stdout] 83 | | ($o:expr) => { [INFO] [stdout] 84 | | match $o { [INFO] [stdout] 85 | | Ok(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | let rg: RawGame = try!(json::decode(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 216 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] ... [INFO] [stdout] 225 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.31s [INFO] running `Command { std: "docker" "inspect" "54d27381f4860f2b62eef5f1af8a659d66a06f69934a81099b134067252b2246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d27381f4860f2b62eef5f1af8a659d66a06f69934a81099b134067252b2246", kill_on_drop: false }` [INFO] [stdout] 54d27381f4860f2b62eef5f1af8a659d66a06f69934a81099b134067252b2246 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e83c3a0e2fe64121d279338819d2469d68f4d7acae630685f3ae08a2b86b5e2 [INFO] running `Command { std: "docker" "start" "-a" "3e83c3a0e2fe64121d279338819d2469d68f4d7acae630685f3ae08a2b86b5e2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / macro_rules! try_opt_res { [INFO] [stdout] 83 | | ($o:expr) => { [INFO] [stdout] 84 | | match $o { [INFO] [stdout] 85 | | Ok(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | let rg: RawGame = try!(json::decode(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling act v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 216 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] ... [INFO] [stdout] 225 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / macro_rules! try_opt_res { [INFO] [stdout] 83 | | ($o:expr) => { [INFO] [stdout] 84 | | match $o { [INFO] [stdout] 85 | | Ok(x) => x, [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | let rg: RawGame = try!(json::decode(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | #[derive(Clone,RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 216 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] ... [INFO] [stdout] 225 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/lib.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "3e83c3a0e2fe64121d279338819d2469d68f4d7acae630685f3ae08a2b86b5e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e83c3a0e2fe64121d279338819d2469d68f4d7acae630685f3ae08a2b86b5e2", kill_on_drop: false }` [INFO] [stdout] 3e83c3a0e2fe64121d279338819d2469d68f4d7acae630685f3ae08a2b86b5e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6a22b13dcd6b421bc1f473065a1c2db6f0998276151ec15475c989adf79c7b43 [INFO] running `Command { std: "docker" "start" "-a" "6a22b13dcd6b421bc1f473065a1c2db6f0998276151ec15475c989adf79c7b43", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/lib.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / macro_rules! try_opt_res { [INFO] [stderr] 83 | | ($o:expr) => { [INFO] [stderr] 84 | | match $o { [INFO] [stderr] 85 | | Ok(x) => x, [INFO] [stderr] ... | [INFO] [stderr] 88 | | } [INFO] [stderr] 89 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:210:23 [INFO] [stderr] | [INFO] [stderr] 210 | let rg: RawGame = try!(json::decode(&s)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/lib.rs:218:20 [INFO] [stderr] | [INFO] [stderr] 218 | #[derive(Clone,RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/lib.rs:246:20 [INFO] [stderr] | [INFO] [stderr] 246 | #[derive(Clone,RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/lib.rs:263:20 [INFO] [stderr] | [INFO] [stderr] 263 | #[derive(Clone,RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `io` is imported redundantly [INFO] [stderr] --> src/lib.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 216 | use super::*; [INFO] [stderr] | -------- the item `io` is already imported here [INFO] [stderr] ... [INFO] [stderr] 225 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/lib.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `act` (lib) generated 7 warnings [INFO] [stderr] warning: `act` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/act-2cb545639f94a834) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/act-f2ec8752d74be987) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests act [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Action (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Action (line 97) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:101:39 [INFO] [stdout] | [INFO] [stdout] 6 | let move_to_locked = Action::Move("Unlock the door ","locked_room","LockedRoomKey"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:101:58 [INFO] [stdout] | [INFO] [stdout] 6 | let move_to_locked = Action::Move("Unlock the door ","locked_room","LockedRoomKey"); [INFO] [stdout] | ^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:101:72 [INFO] [stdout] | [INFO] [stdout] 6 | let move_to_locked = Action::Move("Unlock the door ","locked_room","LockedRoomKey"); [INFO] [stdout] | ^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `String`, found `&str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stdout: [INFO] [stdout] Made with [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] _/ _// _//! _//!//! [INFO] [stdout] _/ // _// _// _// [INFO] [stdout] _/ _// _// _// [INFO] [stdout] _// _// _// _// [INFO] [stdout] _//!//! _// _// _// [INFO] [stdout] _// _// _// _// _// [INFO] [stdout] _// _// _//!/ _// [INFO] [stdout] [INFO] [stdout] Make your own game at github.com/ichy-wayland/act [INFO] [stdout] cIm a starting room! Welcome to this example game. [INFO] [stdout] [INFO] [stdout] 0. Move to another room [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/lib.rs:193:36 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5621f5630e1c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5621f5630e1c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5621f5630e1c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5621f5630e1c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5621f564f9bc - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5621f562e3a5 - std::io::Write::write_fmt::h5562a8b6da0f0339 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5621f5632640 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5621f5632640 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5621f5632640 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5621f56321eb - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:228:9 [INFO] [stdout] 10: 0x5621f5632cf4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5621f56327a2 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x5621f56312d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5621f5632739 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5621f55caf41 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x5621f55cae8d - core::panicking::panic::h50b51d19800453c0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:47:5 [INFO] [stdout] 16: 0x5621f561291e - core::option::Option::unwrap::hf23580f31efb7bcd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/option.rs:746:21 [INFO] [stdout] 17: 0x5621f55cdaeb - act::Game::play::hec4f79127fea69e1 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:193:19 [INFO] [stdout] 18: 0x5621f55cbade - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x5621f55cb863 - core::ops::function::FnOnce::call_once::h827fb1f4029b40e6 [INFO] [stdout] 20: 0x5621f55cb7a9 - std::sys_common::backtrace::__rust_begin_short_backtrace::haf8e35482869953f [INFO] [stdout] 21: 0x5621f55cb819 - std::rt::lang_start::{{closure}}::h5e534791856c5311 [INFO] [stdout] 22: 0x5621f5630661 - core::ops::function::impls:: for &F>::call_once::h42d3791e66d196c0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x5621f5630661 - std::panicking::try::do_call::hc3bcb188e535517f [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x5621f5630661 - std::panicking::try::hb1edf04d4a7097ab [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x5621f5630661 - std::panic::catch_unwind::h75ed941ac0d36d57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x5621f5630661 - std::rt::lang_start_internal::{{closure}}::hc702b3389af4cbea [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x5621f5630661 - std::panicking::try::do_call::h53276a03c7fe2ebc [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 28: 0x5621f5630661 - std::panicking::try::ha9e37f45dc542517 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 29: 0x5621f5630661 - std::panic::catch_unwind::h182647595766fee7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 30: 0x5621f5630661 - std::rt::lang_start_internal::h571831ebdba142de [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x5621f55cb801 - std::rt::lang_start::h606ea79aaa4848ba [INFO] [stdout] 32: 0x5621f55cbb43 - main [INFO] [stdout] 33: 0x7f3c798360b3 - __libc_start_main [INFO] [stdout] 34: 0x5621f55cb6de - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/lib.rs - Action (line 97) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6a22b13dcd6b421bc1f473065a1c2db6f0998276151ec15475c989adf79c7b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a22b13dcd6b421bc1f473065a1c2db6f0998276151ec15475c989adf79c7b43", kill_on_drop: false }` [INFO] [stdout] 6a22b13dcd6b421bc1f473065a1c2db6f0998276151ec15475c989adf79c7b43