[INFO] fetching crate lotus-extra 0.2.2... [INFO] testing lotus-extra-0.2.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate lotus-extra 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate lotus-extra 0.2.2 [INFO] finished tweaking crates.io crate lotus-extra 0.2.2 [INFO] tweaked toml for crates.io crate lotus-extra 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lotus-extra 0.2.2 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 lotus-extra 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bd23c0710a2ed9aacbb03625469befd90af5772448924eae3973aedef2cc0f64 [INFO] running `Command { std: "docker" "start" "-a" "bd23c0710a2ed9aacbb03625469befd90af5772448924eae3973aedef2cc0f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd23c0710a2ed9aacbb03625469befd90af5772448924eae3973aedef2cc0f64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd23c0710a2ed9aacbb03625469befd90af5772448924eae3973aedef2cc0f64", kill_on_drop: false }` [INFO] [stdout] bd23c0710a2ed9aacbb03625469befd90af5772448924eae3973aedef2cc0f64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 55a035fd42e20450f6d20094b5744fbc644aeb4dca97cf10343c9c56f6b6f4b4 [INFO] running `Command { std: "docker" "start" "-a" "55a035fd42e20450f6d20094b5744fbc644aeb4dca97cf10343c9c56f6b6f4b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling lotus-bindgen-macros v0.1.1 [INFO] [stderr] Compiling rust-embed-utils v8.8.0 [INFO] [stderr] Compiling rust-embed-impl v8.8.0 [INFO] [stderr] Compiling rust-embed v8.8.0 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling glam v0.29.3 [INFO] [stderr] Compiling lotus-script-sys v0.5.0 [INFO] [stderr] Compiling lotus-shared v0.5.1 [INFO] [stderr] Compiling lotus-script v0.7.3 [INFO] [stderr] Compiling lotus-extra v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.77s [INFO] running `Command { std: "docker" "inspect" "55a035fd42e20450f6d20094b5744fbc644aeb4dca97cf10343c9c56f6b6f4b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55a035fd42e20450f6d20094b5744fbc644aeb4dca97cf10343c9c56f6b6f4b4", kill_on_drop: false }` [INFO] [stdout] 55a035fd42e20450f6d20094b5744fbc644aeb4dca97cf10343c9c56f6b6f4b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3676f7e7a5ab9451056af64d3d6868727636d53726236e4aa58b6731662bd47f [INFO] running `Command { std: "docker" "start" "-a" "3676f7e7a5ab9451056af64d3d6868727636d53726236e4aa58b6731662bd47f", kill_on_drop: false }` [INFO] [stderr] Compiling lotus-extra v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "3676f7e7a5ab9451056af64d3d6868727636d53726236e4aa58b6731662bd47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3676f7e7a5ab9451056af64d3d6868727636d53726236e4aa58b6731662bd47f", kill_on_drop: false }` [INFO] [stdout] 3676f7e7a5ab9451056af64d3d6868727636d53726236e4aa58b6731662bd47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f3f576e471eeb13cfd48192dc8fbf478c0d835302b4e580f35f91abcfa4fbb65 [INFO] running `Command { std: "docker" "start" "-a" "f3f576e471eeb13cfd48192dc8fbf478c0d835302b4e580f35f91abcfa4fbb65", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lotus_extra-389ca384e33300b9) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test math::piecewise_linear_function::tests::test_basic_functionality ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_duplicate_x_values ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_from_vec ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_invalid_values ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_get_value_or_default ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_range ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_empty_function ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_from_iterator ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lotus_extra [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/math.rs - math::exponential_approach_two_speed (line 81) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction (line 88) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::range (line 273) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function (line 36) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::new (line 126) ... FAILED [INFO] [stdout] test src/rand.rs - rand::get_random_element (line 24) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::len (line 232) ... FAILED [INFO] [stdout] test src/scenery.rs - scenery::get_horizontal_ad (line 25) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::is_empty (line 247) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::add_point (line 184) ... FAILED [INFO] [stdout] test src/strings.rs - strings::enhance_string (line 24) ... FAILED [INFO] [stdout] test src/fonts/mod.rs - fonts::get_text_len (line 24) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::get_value (line 349) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function (line 19) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::empty (line 153) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::from_iter (line 429) ... FAILED [INFO] [stdout] test src/scenery.rs - scenery::get_vertical_ad (line 65) ... FAILED [INFO] [stdout] test src/rand.rs - rand::gen_bool (line 45) ... FAILED [INFO] [stdout] test src/elements/var_tracker.rs - elements::var_tracker::ChangeTracked (line 6) - compile ... FAILED [INFO] [stdout] test src/rand.rs - rand::gen_f32 (line 70) ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::get_value_or_default (line 319) ... FAILED [INFO] [stdout] test src/fonts/auto_spacing.rs - fonts::auto_spacing (line 10) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/math.rs - math::exponential_approach_two_speed (line 81) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] --> src/math.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | use your_crate::helper::exponential_approach_two_speed; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction (line 88) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 88 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::range (line 273) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 273 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function (line 36) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 36 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::new (line 126) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 126 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rand.rs - rand::get_random_element (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] --> src/rand.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use your_crate::helper::get_random_element; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::len (line 232) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 232 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scenery.rs - scenery::get_horizontal_ad (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/scenery.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use your_crate::get_horizontal_ad; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::is_empty (line 247) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 247 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::add_point (line 184) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 184 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/strings.rs - strings::enhance_string (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] --> src/strings.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use your_crate::helper::enhance_string; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fonts/mod.rs - fonts::get_text_len (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] --> src/fonts/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use your_crate::helper::get_text_len; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/fonts/mod.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let font_id = ContentId::from("my_font"); [INFO] [stdout] | --------------- ^^^^^^^^^ expected `ContentId`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/convert/mod.rs:592:7 [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::get_value (line 349) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 349 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function (line 19) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 19 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::empty (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 153 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::from_iter (line 429) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 429 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/scenery.rs - scenery::get_vertical_ad (line 65) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/scenery.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use your_crate::get_vertical_ad; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rand.rs - rand::gen_bool (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] --> src/rand.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use your_crate::helper::gen_bool; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/elements/var_tracker.rs - elements::var_tracker::ChangeTracked (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lotus_script::var_tracker` [INFO] [stdout] --> src/elements/var_tracker.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use lotus_script::var_tracker::ChangeTracked; [INFO] [stdout] | ^^^^^^^^^^^ could not find `var_tracker` in `lotus_script` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_something` in this scope [INFO] [stdout] --> src/elements/var_tracker.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | .on_change(|&value| do_something(value)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_something_else` in this scope [INFO] [stdout] --> src/elements/var_tracker.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | .on_change(|&value| do_something_else(value)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rand.rs - rand::gen_f32 (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] --> src/rand.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | use your_crate::helper::gen_f32; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::get_value_or_default (line 319) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `piecewise_linear_function` [INFO] [stdout] --> src/math/piecewise_linear_function.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | use piecewise_linear_function::PiecewiseLinearFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `piecewise_linear_function` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/math/piecewise_linear_function.rs, use `mod piecewise_linear_function` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 319 + mod piecewise_linear_function; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/elements/var_tracker.rs - elements::var_tracker::ChangeTracked (line 6) [INFO] [stdout] src/fonts/mod.rs - fonts::get_text_len (line 24) [INFO] [stdout] src/math.rs - math::exponential_approach_two_speed (line 81) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function (line 19) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function (line 36) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction (line 88) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::add_point (line 184) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::empty (line 153) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::from_iter (line 429) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::get_value (line 349) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::get_value_or_default (line 319) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::is_empty (line 247) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::len (line 232) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::new (line 126) [INFO] [stdout] src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::range (line 273) [INFO] [stdout] src/rand.rs - rand::gen_bool (line 45) [INFO] [stdout] src/rand.rs - rand::gen_f32 (line 70) [INFO] [stdout] src/rand.rs - rand::get_random_element (line 24) [INFO] [stdout] src/scenery.rs - scenery::get_horizontal_ad (line 25) [INFO] [stdout] src/scenery.rs - scenery::get_vertical_ad (line 65) [INFO] [stdout] src/strings.rs - strings::enhance_string (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.78s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f3f576e471eeb13cfd48192dc8fbf478c0d835302b4e580f35f91abcfa4fbb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f576e471eeb13cfd48192dc8fbf478c0d835302b4e580f35f91abcfa4fbb65", kill_on_drop: false }` [INFO] [stdout] f3f576e471eeb13cfd48192dc8fbf478c0d835302b4e580f35f91abcfa4fbb65