[INFO] fetching crate animaterm 0.2.9... [INFO] testing animaterm-0.2.9 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate animaterm 0.2.9 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate animaterm 0.2.9 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate animaterm 0.2.9 [INFO] tweaked toml for crates.io crate animaterm 0.2.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate animaterm 0.2.9 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate animaterm 0.2.9 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a199a69d822ed955555fb5be737f3b5cc17c0fa8f6afd55f537e65ace1d56756 [INFO] running `Command { std: "docker" "start" "-a" "a199a69d822ed955555fb5be737f3b5cc17c0fa8f6afd55f537e65ace1d56756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a199a69d822ed955555fb5be737f3b5cc17c0fa8f6afd55f537e65ace1d56756", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a199a69d822ed955555fb5be737f3b5cc17c0fa8f6afd55f537e65ace1d56756", kill_on_drop: false }` [INFO] [stdout] a199a69d822ed955555fb5be737f3b5cc17c0fa8f6afd55f537e65ace1d56756 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 894b0a702e9fa8fc9ed74fbda453dd537ec7b26b8480a094f0a9ac98255c9325 [INFO] running `Command { std: "docker" "start" "-a" "894b0a702e9fa8fc9ed74fbda453dd537ec7b26b8480a094f0a9ac98255c9325", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling animaterm v0.2.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.94s [INFO] running `Command { std: "docker" "inspect" "894b0a702e9fa8fc9ed74fbda453dd537ec7b26b8480a094f0a9ac98255c9325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894b0a702e9fa8fc9ed74fbda453dd537ec7b26b8480a094f0a9ac98255c9325", kill_on_drop: false }` [INFO] [stdout] 894b0a702e9fa8fc9ed74fbda453dd537ec7b26b8480a094f0a9ac98255c9325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ffdc1626e55ef29fc9dd164aac9d599c15bc43a5e71d680fbfe8b76129d7d09 [INFO] running `Command { std: "docker" "start" "-a" "7ffdc1626e55ef29fc9dd164aac9d599c15bc43a5e71d680fbfe8b76129d7d09", kill_on_drop: false }` [INFO] [stderr] Compiling animaterm v0.2.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "7ffdc1626e55ef29fc9dd164aac9d599c15bc43a5e71d680fbfe8b76129d7d09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffdc1626e55ef29fc9dd164aac9d599c15bc43a5e71d680fbfe8b76129d7d09", kill_on_drop: false }` [INFO] [stdout] 7ffdc1626e55ef29fc9dd164aac9d599c15bc43a5e71d680fbfe8b76129d7d09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9efc7935a9c8179984e291544bab03e2d4b2ccef737360dfed45ad38b97afb50 [INFO] running `Command { std: "docker" "start" "-a" "9efc7935a9c8179984e291544bab03e2d4b2ccef737360dfed45ad38b97afb50", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/animaterm-3fb91fe93e8093d6) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::add_sec_to_sec ... ok [INFO] [stdout] test tests::no_neg_time ... ok [INFO] [stdout] test tests::glyph_cake2 ... ok [INFO] [stdout] test tests::overflow_ms_to_sec ... ok [INFO] [stdout] test tests::update_glyph_from_str ... ok [INFO] [stdout] test tests::glyph_cake ... ok [INFO] [stdout] test tests::sub_sec_from_sec ... ok [INFO] [stdout] test tests::update_glyph_twice_from_str ... ok [INFO] [stderr] Running unittests src/bin/studio/main.rs (/opt/rustwide/target/debug/deps/studio-8c2ac8dd6f57cad7) [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [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 animaterm [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/lib.rs - (line 165) ... FAILED [INFO] [stdout] test src/lib.rs - (line 177) ... FAILED [INFO] [stdout] test src/lib.rs - (line 201) ... FAILED [INFO] [stdout] test src/lib.rs - (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - (line 192) ... FAILED [INFO] [stdout] test src/lib.rs - (line 169) ... FAILED [INFO] [stdout] test src/lib.rs - (line 184) ... FAILED [INFO] [stdout] test src/lib.rs - (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - (line 210) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 139) ... FAILED [INFO] [stdout] test src/lib.rs - (line 226) ... FAILED [INFO] [stdout] test src/lib.rs - (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 165) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | mgr.start_animation(graphic_id, anim_id); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | mgr.start_animation(graphic_id, anim_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `anim_id` in this scope [INFO] [stdout] --> src/lib.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 166 | mgr.start_animation(graphic_id, anim_id); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 177) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:179:25 [INFO] [stdout] | [INFO] [stdout] 179 | let second_display_id = mgr.new_display(keep_existing); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | mgr.restore_display(0, keep_existing); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 201) stdout ---- [INFO] [stdout] error: unexpected closing delimiter: `)` [INFO] [stdout] --> src/lib.rs:207:74 [INFO] [stdout] | [INFO] [stdout] 207 | mgr.set_glyph(graphic_id, Glyph::transparent(), col, row, graphic_offset)); [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 158) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | mgr.set_graphic(graphic_id, frame_id, force) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | mgr.set_graphic(graphic_id, frame_id, force) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame_id` in this scope [INFO] [stdout] --> src/lib.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | mgr.set_graphic(graphic_id, frame_id, force) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 192) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `a_graphic` in this scope [INFO] [stdout] --> src/lib.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | a_graphic.set_frame(frame_id); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame_id` in this scope [INFO] [stdout] --> src/lib.rs:194:21 [INFO] [stdout] | [INFO] [stdout] 194 | a_graphic.set_frame(frame_id); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a_graphic` in this scope [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | a_graphic.set_glyph(new_glyph, col, row, graphic_offset); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_glyph` in this scope [INFO] [stdout] --> src/lib.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | a_graphic.set_glyph(new_glyph, col, row, graphic_offset); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `col` in this scope [INFO] [stdout] --> src/lib.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | a_graphic.set_glyph(new_glyph, col, row, graphic_offset); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `row` in this scope [INFO] [stdout] --> src/lib.rs:195:37 [INFO] [stdout] | [INFO] [stdout] 195 | a_graphic.set_glyph(new_glyph, col, row, graphic_offset); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_offset` in this scope [INFO] [stdout] --> src/lib.rs:195:42 [INFO] [stdout] | [INFO] [stdout] 195 | a_graphic.set_glyph(new_glyph, col, row, graphic_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:198:1 [INFO] [stdout] | [INFO] [stdout] 198 | mgr.set_glyph(graphic_id, new_glyph, col, row); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 198 | mgr.set_glyph(graphic_id, new_glyph, col, row); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_glyph` in this scope [INFO] [stdout] --> src/lib.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | mgr.set_glyph(graphic_id, new_glyph, col, row); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `col` in this scope [INFO] [stdout] --> src/lib.rs:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | mgr.set_glyph(graphic_id, new_glyph, col, row); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `row` in this scope [INFO] [stdout] --> src/lib.rs:198:43 [INFO] [stdout] | [INFO] [stdout] 198 | mgr.set_glyph(graphic_id, new_glyph, col, row); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 169) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | mgr.pause_animation(graphic_id); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | mgr.pause_animation(graphic_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:174:1 [INFO] [stdout] | [INFO] [stdout] 174 | mgr.pause_animation_on_frame(graphic_id, frame_id); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | mgr.pause_animation_on_frame(graphic_id, frame_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `frame_id` in this scope [INFO] [stdout] --> src/lib.rs:174:42 [INFO] [stdout] | [INFO] [stdout] 174 | mgr.pause_animation_on_frame(graphic_id, frame_id); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 184) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | mgr.move_graphic(graphic_id, new_layer, (0, 0)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | mgr.move_graphic(graphic_id, new_layer, (0, 0)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `new_layer` in this scope [INFO] [stdout] --> src/lib.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | mgr.move_graphic(graphic_id, new_layer, (0, 0)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 188) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | mgr.move_graphic(graphic_id, layer, (offset_cols, offset_rows)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | mgr.move_graphic(graphic_id, layer, (offset_cols, offset_rows)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer` in this scope [INFO] [stdout] --> src/lib.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | mgr.move_graphic(graphic_id, layer, (offset_cols, offset_rows)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset_cols` in this scope [INFO] [stdout] --> src/lib.rs:189:38 [INFO] [stdout] | [INFO] [stdout] 189 | mgr.move_graphic(graphic_id, layer, (offset_cols, offset_rows)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `offset_rows` in this scope [INFO] [stdout] --> src/lib.rs:189:51 [INFO] [stdout] | [INFO] [stdout] 189 | mgr.move_graphic(graphic_id, layer, (offset_cols, offset_rows)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 105) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `start_frame` in this scope [INFO] [stdout] --> src/lib.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | (start_frame, Timestamp::new(seconds, miliseconds)), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/lib.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | (start_frame, Timestamp::new(seconds, miliseconds)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `start_frame` in this scope [INFO] [stdout] --> src/lib.rs:113:6 [INFO] [stdout] | [INFO] [stdout] 113 | (start_frame + 1, Timestamp::new(seconds, miliseconds)), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/lib.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | (start_frame + 1, Timestamp::new(seconds, miliseconds)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/lib.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | let start_time = Timestamp::now(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Animation` [INFO] [stdout] --> src/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let animation = Animation::new(running, looping, ordering, start_time); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Animation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Animation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | let mut animations = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphic` [INFO] [stdout] --> src/lib.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | let mut gr = Graphic::new(cols, rows, start_frame, library, Some(animations)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Graphic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Graphic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cols` in this scope [INFO] [stdout] --> src/lib.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | let mut gr = Graphic::new(cols, rows, start_frame, library, Some(animations)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rows` in this scope [INFO] [stdout] --> src/lib.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | let mut gr = Graphic::new(cols, rows, start_frame, library, Some(animations)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `start_frame` in this scope [INFO] [stdout] --> src/lib.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | let mut gr = Graphic::new(cols, rows, start_frame, library, Some(animations)); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `start_time` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `library` in this scope [INFO] [stdout] --> src/lib.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | let mut gr = Graphic::new(cols, rows, start_frame, library, Some(animations)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Animation` [INFO] [stdout] --> src/lib.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | let option_anim_id = gr.add_animation(Animation::new(running, looping, ordering, start_time)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Animation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Animation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | mgr.add_animation( [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `gr` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | graphic_id, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Animation` [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | Animation::new(running, looping, ordering, Timestamp::now()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Animation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Animation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp` [INFO] [stdout] --> src/lib.rs:129:48 [INFO] [stdout] | [INFO] [stdout] 129 | Animation::new(running, looping, ordering, Timestamp::now()), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Timestamp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::Timestamp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:133:47 [INFO] [stdout] | [INFO] [stdout] 133 | if let Ok(AnimOk::AnimationAdded(anim_id)) = mgr.read_result() { [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `gr` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimOk` [INFO] [stdout] --> src/lib.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if let Ok(AnimOk::AnimationAdded(anim_id)) = mgr.read_result() { [INFO] [stdout] | ^^^^^^ use of undeclared type `AnimOk` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 105 + use animaterm::AnimOk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 210) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/lib.rs:214:28 [INFO] [stdout] | [INFO] [stdout] 214 | let source_frame_id = Some(id); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 210 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a_graphic` in this scope [INFO] [stdout] --> src/lib.rs:217:23 [INFO] [stdout] | [INFO] [stdout] 217 | let frame_id_option = a_graphic.clone_frame(source_frame_id); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 220 | mgr.clone_frame(graphic_id); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | mgr.clone_frame(graphic_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:221:55 [INFO] [stdout] | [INFO] [stdout] 221 | if let Ok(AnimOk::FrameAdded(graphic_id, frame_id)) = mgr.read_result() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimOk` [INFO] [stdout] --> src/lib.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 221 | if let Ok(AnimOk::FrameAdded(graphic_id, frame_id)) = mgr.read_result() { [INFO] [stdout] | ^^^^^^ use of undeclared type `AnimOk` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 210 + use animaterm::AnimOk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(key) = mgr.read_key() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Key::Q | Key::ShiftQ => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 51 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | Key::Q | Key::ShiftQ => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 51 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | mgr.terminate(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 139) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some(key) = mgr.read_key() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Key::Left => mgr.move_graphic(graphic_id, layer, (-1, 0)), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 139 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | Key::Left => mgr.move_graphic(graphic_id, layer, (-1, 0)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:144:43 [INFO] [stdout] | [INFO] [stdout] 144 | Key::Left => mgr.move_graphic(graphic_id, layer, (-1, 0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer` in this scope [INFO] [stdout] --> src/lib.rs:144:55 [INFO] [stdout] | [INFO] [stdout] 144 | Key::Left => mgr.move_graphic(graphic_id, layer, (-1, 0)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | Key::Right => mgr.move_graphic(graphic_id, layer, (1, 0)), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 139 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | Key::Right => mgr.move_graphic(graphic_id, layer, (1, 0)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:145:44 [INFO] [stdout] | [INFO] [stdout] 145 | Key::Right => mgr.move_graphic(graphic_id, layer, (1, 0)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer` in this scope [INFO] [stdout] --> src/lib.rs:145:56 [INFO] [stdout] | [INFO] [stdout] 145 | Key::Right => mgr.move_graphic(graphic_id, layer, (1, 0)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | Key::Up => mgr.move_graphic(graphic_id, layer, (0, -1)), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 139 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | Key::Up => mgr.move_graphic(graphic_id, layer, (0, -1)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:146:41 [INFO] [stdout] | [INFO] [stdout] 146 | Key::Up => mgr.move_graphic(graphic_id, layer, (0, -1)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer` in this scope [INFO] [stdout] --> src/lib.rs:146:53 [INFO] [stdout] | [INFO] [stdout] 146 | Key::Up => mgr.move_graphic(graphic_id, layer, (0, -1)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | Key::Down => mgr.move_graphic(graphic_id, layer, (0, 1)), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 139 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | Key::Down => mgr.move_graphic(graphic_id, layer, (0, 1)), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | Key::Down => mgr.move_graphic(graphic_id, layer, (0, 1)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer` in this scope [INFO] [stdout] --> src/lib.rs:147:55 [INFO] [stdout] | [INFO] [stdout] 147 | Key::Down => mgr.move_graphic(graphic_id, layer, (0, 1)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | Key::Q | Key::ShiftQ => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 139 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/lib.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | Key::Q | Key::ShiftQ => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 139 + use animaterm::Key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:155:2 [INFO] [stdout] | [INFO] [stdout] 155 | mgr.terminate(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 226) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `a_graphic` in this scope [INFO] [stdout] --> src/lib.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | let frame_id_option = a_graphic.empty_frame(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | mgr.empty_frame(graphic_id); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `graphic_id` in this scope [INFO] [stdout] --> src/lib.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | mgr.empty_frame(graphic_id); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:234:55 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(AnimOk::FrameAdded(graphic_id, frame_id)) = mgr.read_result() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimOk` [INFO] [stdout] --> src/lib.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 234 | if let Ok(AnimOk::FrameAdded(graphic_id, frame_id)) = mgr.read_result() { [INFO] [stdout] | ^^^^^^ use of undeclared type `AnimOk` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 226 + use animaterm::AnimOk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 84) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/lib.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | let mut library = HashMap::with_capacity(2); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 84 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Glyph` [INFO] [stdout] --> src/lib.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | vec![Glyph::default(); rows * cols]); [INFO] [stdout] | ^^^^^ use of undeclared type `Glyph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 84 + use animaterm::Glyph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Glyph` [INFO] [stdout] --> src/lib.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | vec![Glyph::plain(); rows * cols]); [INFO] [stdout] | ^^^^^ use of undeclared type `Glyph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 84 + use animaterm::Glyph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphic` [INFO] [stdout] --> src/lib.rs:97:15 [INFO] [stdout] | [INFO] [stdout] 97 | let mut gr = Graphic::new(cols, rows, start_frame, library, animations); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Graphic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 84 + use animaterm::Graphic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | let graphic_id = mgr.add_graphic(gr, layer, offset).unwrap(); [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `gr` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mgr` in this scope [INFO] [stdout] --> src/lib.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | mgr.set_graphic(graphic_id, start_frame); [INFO] [stdout] | ^^^ help: a local variable with a similar name exists: `gr` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `from_milis` found for struct `Duration` in the current scope [INFO] [stdout] --> src/lib.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let refresh_timeout = Some(Duration::from_milis(10)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Duration` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Duration` consider using one of the following associated functions: [INFO] [stdout] Duration::new [INFO] [stdout] Duration::from_secs [INFO] [stdout] Duration::from_millis [INFO] [stdout] Duration::from_micros [INFO] [stdout] and 10 others [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/time.rs:194:4 [INFO] [stdout] help: there is an associated function `from_millis` with a similar name [INFO] [stdout] | [INFO] [stdout] 42 | let refresh_timeout = Some(Duration::from_millis(10)); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/lib.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let mut mgr = Manager::new(capture_keyboard, cols, rows, glyph, refresh_timeout); [INFO] [stdout] | ^^^^^^^^^^^^------------------------------------------------------ argument #6 of type `Option>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/manager.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 43 | let mut mgr = Manager::new(capture_keyboard, cols, rows, glyph, refresh_timeout, /* Option> */); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 105) [INFO] [stdout] src/lib.rs - (line 139) [INFO] [stdout] src/lib.rs - (line 158) [INFO] [stdout] src/lib.rs - (line 165) [INFO] [stdout] src/lib.rs - (line 169) [INFO] [stdout] src/lib.rs - (line 177) [INFO] [stdout] src/lib.rs - (line 184) [INFO] [stdout] src/lib.rs - (line 188) [INFO] [stdout] src/lib.rs - (line 192) [INFO] [stdout] src/lib.rs - (line 201) [INFO] [stdout] src/lib.rs - (line 210) [INFO] [stdout] src/lib.rs - (line 226) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - (line 84) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9efc7935a9c8179984e291544bab03e2d4b2ccef737360dfed45ad38b97afb50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9efc7935a9c8179984e291544bab03e2d4b2ccef737360dfed45ad38b97afb50", kill_on_drop: false }` [INFO] [stdout] 9efc7935a9c8179984e291544bab03e2d4b2ccef737360dfed45ad38b97afb50