[INFO] fetching crate tinkoff-invest 2.34.0... [INFO] testing tinkoff-invest-2.34.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate tinkoff-invest 2.34.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tinkoff-invest 2.34.0 [INFO] finished tweaking crates.io crate tinkoff-invest 2.34.0 [INFO] tweaked toml for crates.io crate tinkoff-invest 2.34.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tinkoff-invest 2.34.0 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 tinkoff-invest 2.34.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a2a6c3b2149243eb92da4d5794eaef48843a9976a58fb22948e9eb56a53f6d3 [INFO] running `Command { std: "docker" "start" "-a" "8a2a6c3b2149243eb92da4d5794eaef48843a9976a58fb22948e9eb56a53f6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a2a6c3b2149243eb92da4d5794eaef48843a9976a58fb22948e9eb56a53f6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2a6c3b2149243eb92da4d5794eaef48843a9976a58fb22948e9eb56a53f6d3", kill_on_drop: false }` [INFO] [stdout] 8a2a6c3b2149243eb92da4d5794eaef48843a9976a58fb22948e9eb56a53f6d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c1d3f37963cb36ea2c9645c59dcc0d91d36f1b2de47d6d09a6d9a3aa4092076 [INFO] running `Command { std: "docker" "start" "-a" "7c1d3f37963cb36ea2c9645c59dcc0d91d36f1b2de47d6d09a6d9a3aa4092076", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v21.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tonic-build v0.14.0 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost v0.14.1 [INFO] [stderr] Compiling prost-types v0.14.1 [INFO] [stderr] Compiling prost-build v0.14.1 [INFO] [stderr] Compiling tonic-prost-build v0.14.0 [INFO] [stderr] Compiling tinkoff-invest-types v2.22.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling tonic v0.14.0 [INFO] [stderr] Compiling tonic-prost v0.14.0 [INFO] [stderr] Compiling tinkoff-invest v2.34.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.76s [INFO] running `Command { std: "docker" "inspect" "7c1d3f37963cb36ea2c9645c59dcc0d91d36f1b2de47d6d09a6d9a3aa4092076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c1d3f37963cb36ea2c9645c59dcc0d91d36f1b2de47d6d09a6d9a3aa4092076", kill_on_drop: false }` [INFO] [stdout] 7c1d3f37963cb36ea2c9645c59dcc0d91d36f1b2de47d6d09a6d9a3aa4092076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 811fec99c56e786727a48ba156252e3827953a76ecdda60c16c9418187f268da [INFO] running `Command { std: "docker" "start" "-a" "811fec99c56e786727a48ba156252e3827953a76ecdda60c16c9418187f268da", kill_on_drop: false }` [INFO] [stderr] Compiling tinkoff-invest v2.34.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "811fec99c56e786727a48ba156252e3827953a76ecdda60c16c9418187f268da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811fec99c56e786727a48ba156252e3827953a76ecdda60c16c9418187f268da", kill_on_drop: false }` [INFO] [stdout] 811fec99c56e786727a48ba156252e3827953a76ecdda60c16c9418187f268da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5a8d79a58cbefc37bb485edc9766239ab8edc47a108164e9e753e1cf5bba7fa [INFO] running `Command { std: "docker" "start" "-a" "c5a8d79a58cbefc37bb485edc9766239ab8edc47a108164e9e753e1cf5bba7fa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tinkoff_invest-8d113035f1bb06e2) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test types::money::tests::test_1 ... ok [INFO] [stdout] test types::money::tests::test_2 ... ok [INFO] [stdout] test types::money::tests::test_3 ... ok [INFO] [stdout] test types::money::tests::test_4 ... ok [INFO] [stdout] test types::money::tests::test_5 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tinkoff_invest [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_uid (line 62) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::insert (line 177) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_ticker (line 118) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::update (line 237) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::upsert (line 300) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_class_code_and_ticker (line 148) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::delete_by_uid (line 337) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_upsert (line 457) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_figi (line 92) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_insert (line 411) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_update (line 434) ... FAILED [INFO] [stdout] test src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::new (line 29) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_uid (line 62) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `&str: ToUidRef` is not satisfied [INFO] [stdout] --> src/cached/cached_market_instruments.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | let instrument = cache.get_by_uid("some_uid"); [INFO] [stdout] | ---------- ^^^^^^^^^^ the trait `ToUidRef` is not implemented for `&str` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `ToUidRef` is implemented for `&Uid` [INFO] [stdout] --> /opt/rustwide/workdir/src/types/uid.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl traits::ToUidRef for &Uid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CachedMarketInstruments::get_by_uid` [INFO] [stdout] --> /opt/rustwide/workdir/src/cached/cached_market_instruments.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_by_uid(&self, value: T) -> Option [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 70 | where [INFO] [stdout] 71 | T: traits::ToUidRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `CachedMarketInstruments::get_by_uid` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::insert (line 177) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `some_market_instrument` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:183:14 [INFO] [stdout] | [INFO] [stdout] 183 | cache.insert(some_market_instrument); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_ticker (line 118) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `&str: ToTickerRef` is not satisfied [INFO] [stdout] --> src/cached/cached_market_instruments.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 123 | let instruments = cache.get_by_ticker("AAPL"); [INFO] [stdout] | ------------- ^^^^^^ the trait `ToTickerRef` is not implemented for `&str` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `ToTickerRef` is implemented for `&Ticker` [INFO] [stdout] --> /opt/rustwide/workdir/src/types/ticker.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | impl traits::ToTickerRef for &Ticker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CachedMarketInstruments::get_by_ticker` [INFO] [stdout] --> /opt/rustwide/workdir/src/cached/cached_market_instruments.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_by_ticker(&self, value: T) -> Option> [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] 126 | where [INFO] [stdout] 127 | T: traits::ToTickerRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `CachedMarketInstruments::get_by_ticker` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::update (line 237) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `updated_market_instrument` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:243:14 [INFO] [stdout] | [INFO] [stdout] 243 | cache.update(updated_market_instrument); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::upsert (line 300) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `market_instrument` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | cache.upsert(market_instrument); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_class_code_and_ticker (line 148) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `some_instrument` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:153:54 [INFO] [stdout] | [INFO] [stdout] 153 | let instruments = cache.get_by_class_code_and_ticker(some_instrument); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::delete_by_uid (line 337) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `&str: ToUidRef` is not satisfied [INFO] [stdout] --> src/cached/cached_market_instruments.rs:342:44 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(deleted) = cache.delete_by_uid("some_uid") { [INFO] [stdout] | ------------- ^^^^^^^^^^ the trait `ToUidRef` is not implemented for `&str` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `ToUidRef` is implemented for `&Uid` [INFO] [stdout] --> /opt/rustwide/workdir/src/types/uid.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | impl traits::ToUidRef for &Uid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `CachedMarketInstruments::delete_by_uid` [INFO] [stdout] --> /opt/rustwide/workdir/src/cached/cached_market_instruments.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn delete_by_uid(&self, uid: T) -> Option [INFO] [stdout] | ------------- required by a bound in this associated function [INFO] [stdout] 347 | where [INFO] [stdout] 348 | T: traits::ToUidRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `CachedMarketInstruments::delete_by_uid` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_upsert (line 457) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instrument1` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:463:24 [INFO] [stdout] | [INFO] [stdout] 463 | let instruments = vec![instrument1, instrument2, instrument3]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instrument2` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:463:37 [INFO] [stdout] | [INFO] [stdout] 463 | let instruments = vec![instrument1, instrument2, instrument3]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instrument3` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:463:50 [INFO] [stdout] | [INFO] [stdout] 463 | let instruments = vec![instrument1, instrument2, instrument3]; [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/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_figi (line 92) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cached/cached_market_instruments.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | let instruments = cache.get_by_figi(Some("BBG000B9XRY4")); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ expected `Figi`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `&'static str` due to the type of the argument passed [INFO] [stdout] --> src/cached/cached_market_instruments.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | let instruments = cache.get_by_figi(Some("BBG000B9XRY4")); [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:607:4 [INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `Figi` [INFO] [stdout] | [INFO] [stdout] 97 | let instruments = cache.get_by_figi(Some("BBG000B9XRY4".into())); [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 E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_insert (line 411) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `instrument1` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:417:24 [INFO] [stdout] | [INFO] [stdout] 417 | let instruments = vec![instrument1, instrument2, instrument3]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instrument2` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:417:37 [INFO] [stdout] | [INFO] [stdout] 417 | let instruments = vec![instrument1, instrument2, instrument3]; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instrument3` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:417:50 [INFO] [stdout] | [INFO] [stdout] 417 | let instruments = vec![instrument1, instrument2, instrument3]; [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/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_update (line 434) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `updated1` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:440:32 [INFO] [stdout] | [INFO] [stdout] 440 | let updated_instruments = vec![updated1, updated2, updated3]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `updated2` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:440:42 [INFO] [stdout] | [INFO] [stdout] 440 | let updated_instruments = vec![updated1, updated2, updated3]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `updated3` in this scope [INFO] [stdout] --> src/cached/cached_market_instruments.rs:440:52 [INFO] [stdout] | [INFO] [stdout] 440 | let updated_instruments = vec![updated1, updated2, updated3]; [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] [INFO] [stdout] failures: [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_insert (line 411) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_update (line 434) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::bulk_upsert (line 457) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::delete_by_uid (line 337) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_class_code_and_ticker (line 148) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_figi (line 92) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_ticker (line 118) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::get_by_uid (line 62) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::insert (line 177) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::update (line 237) [INFO] [stdout] src/cached/cached_market_instruments.rs - cached::cached_market_instruments::CachedMarketInstruments::upsert (line 300) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.21s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.41s; merged doctests compilation took 0.20s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c5a8d79a58cbefc37bb485edc9766239ab8edc47a108164e9e753e1cf5bba7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a8d79a58cbefc37bb485edc9766239ab8edc47a108164e9e753e1cf5bba7fa", kill_on_drop: false }` [INFO] [stdout] c5a8d79a58cbefc37bb485edc9766239ab8edc47a108164e9e753e1cf5bba7fa