[INFO] fetching crate lotus-extra 0.2.3... [INFO] testing lotus-extra-0.2.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lotus-extra 0.2.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate lotus-extra 0.2.3 [INFO] finished tweaking crates.io crate lotus-extra 0.2.3 [INFO] tweaked toml for crates.io crate lotus-extra 0.2.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lotus-extra 0.2.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lotus-extra 0.2.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1787ab9e1c046560b681ae459861d7e54e289bdc09bbf402ebdb762d9799598d [INFO] running `Command { std: "docker" "start" "-a" "1787ab9e1c046560b681ae459861d7e54e289bdc09bbf402ebdb762d9799598d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1787ab9e1c046560b681ae459861d7e54e289bdc09bbf402ebdb762d9799598d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1787ab9e1c046560b681ae459861d7e54e289bdc09bbf402ebdb762d9799598d", kill_on_drop: false }` [INFO] [stdout] 1787ab9e1c046560b681ae459861d7e54e289bdc09bbf402ebdb762d9799598d [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8680eb6aa69a9141cb0a637be15f2d0fd75f435035d65cb4a8aca9e29884cd12 [INFO] running `Command { std: "docker" "start" "-a" "8680eb6aa69a9141cb0a637be15f2d0fd75f435035d65cb4a8aca9e29884cd12", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_writer v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_spanned v1.0.3 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling lotus-bindgen-macros v0.1.1 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling rust-embed-utils v8.8.0 [INFO] [stderr] Compiling rust-embed-impl v8.8.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rust-embed v8.8.0 [INFO] [stderr] Compiling serde v1.0.228 [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.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.21s [INFO] running `Command { std: "docker" "inspect" "8680eb6aa69a9141cb0a637be15f2d0fd75f435035d65cb4a8aca9e29884cd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8680eb6aa69a9141cb0a637be15f2d0fd75f435035d65cb4a8aca9e29884cd12", kill_on_drop: false }` [INFO] [stdout] 8680eb6aa69a9141cb0a637be15f2d0fd75f435035d65cb4a8aca9e29884cd12 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d4f2f3d91374ca2c08b96adad4cf18f921d0e74d66d49d96a4b96bf0342b6ae [INFO] running `Command { std: "docker" "start" "-a" "8d4f2f3d91374ca2c08b96adad4cf18f921d0e74d66d49d96a4b96bf0342b6ae", kill_on_drop: false }` [INFO] [stderr] Compiling lotus-extra v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "8d4f2f3d91374ca2c08b96adad4cf18f921d0e74d66d49d96a4b96bf0342b6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d4f2f3d91374ca2c08b96adad4cf18f921d0e74d66d49d96a4b96bf0342b6ae", kill_on_drop: false }` [INFO] [stdout] 8d4f2f3d91374ca2c08b96adad4cf18f921d0e74d66d49d96a4b96bf0342b6ae [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e8e46631222f721e4e0364956f92f14b5d674dd49ab9640ed48a23aec6eaaad [INFO] running `Command { std: "docker" "start" "-a" "1e8e46631222f721e4e0364956f92f14b5d674dd49ab9640ed48a23aec6eaaad", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lotus_extra-b70bdfe80e4393bd) [INFO] [stdout] running 8 tests [INFO] [stdout] test math::piecewise_linear_function::tests::test_duplicate_x_values ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_from_iterator ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_get_value_or_default ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_from_vec ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_range ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_invalid_values ... ok [INFO] [stdout] test math::piecewise_linear_function::tests::test_empty_function ... ok [INFO] [stderr] Doc-tests lotus_extra [INFO] [stdout] test math::piecewise_linear_function::tests::test_basic_functionality ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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::range (line 273) ... 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::len (line 232) ... 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/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/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::new (line 126) ... FAILED [INFO] [stdout] test src/rand.rs - rand::gen_bool (line 45) ... FAILED [INFO] [stdout] test src/scenery.rs - scenery::get_vertical_ad (line 65) ... 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 (line 88) ... 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 (line 19) ... FAILED [INFO] [stdout] test src/fonts/mod.rs - fonts::get_text_len (line 24) ... FAILED [INFO] [stdout] test src/scenery.rs - scenery::get_horizontal_ad (line 25) ... FAILED [INFO] [stdout] test src/strings.rs - strings::enhance_string (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/rand.rs - rand::get_random_element (line 24) ... FAILED [INFO] [stdout] test src/elements/var_tracker.rs - elements::var_tracker::ChangeTracked (line 6) - compile ... FAILED [INFO] [stdout] test src/math/piecewise_linear_function.rs - math::piecewise_linear_function::PiecewiseLinearFunction::from_iter (line 429) ... 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]: cannot find module or crate `your_crate` in this scope [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::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::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::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/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] ---- 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/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::gen_bool (line 45) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [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/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/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 (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/rand.rs - rand::gen_f32 (line 70) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [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 (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/fonts/mod.rs - fonts::get_text_len (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/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/strings.rs - strings::enhance_string (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [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/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/rand.rs - rand::get_random_element (line 24) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [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/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/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] [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.54s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1e8e46631222f721e4e0364956f92f14b5d674dd49ab9640ed48a23aec6eaaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8e46631222f721e4e0364956f92f14b5d674dd49ab9640ed48a23aec6eaaad", kill_on_drop: false }` [INFO] [stdout] 1e8e46631222f721e4e0364956f92f14b5d674dd49ab9640ed48a23aec6eaaad