[INFO] fetching crate tinkoff-invest 2.34.0...
[INFO] testing tinkoff-invest-2.34.0 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate tinkoff-invest 2.34.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tinkoff-invest 2.34.0 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d50193b1c3d840f1008538689656af903a94c8f2fd3e5f469e4ff138005734c
[INFO] running `Command { std: "docker" "start" "-a" "9d50193b1c3d840f1008538689656af903a94c8f2fd3e5f469e4ff138005734c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d50193b1c3d840f1008538689656af903a94c8f2fd3e5f469e4ff138005734c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d50193b1c3d840f1008538689656af903a94c8f2fd3e5f469e4ff138005734c", kill_on_drop: false }`
[INFO] [stdout] 9d50193b1c3d840f1008538689656af903a94c8f2fd3e5f469e4ff138005734c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9265beb3b9f4b858b9e2c187e60fccb4182b960a6a762b3ee0e431ac9e6ffbeb
[INFO] running `Command { std: "docker" "start" "-a" "9265beb3b9f4b858b9e2c187e60fccb4182b960a6a762b3ee0e431ac9e6ffbeb", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling prettyplease v0.2.36
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pulldown-cmark v0.13.0
[INFO] [stderr]    Compiling rustls v0.23.31
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling petgraph v0.7.1
[INFO] [stderr]    Compiling pulldown-cmark-to-cmark v21.0.0
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tonic-build v0.14.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling prost-derive v0.14.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tokio v1.47.0
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling prost v0.14.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling prost-types v0.14.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.4
[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 h2 v0.4.11
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling axum v0.8.4
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[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 54.07s
[INFO] running `Command { std: "docker" "inspect" "9265beb3b9f4b858b9e2c187e60fccb4182b960a6a762b3ee0e431ac9e6ffbeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9265beb3b9f4b858b9e2c187e60fccb4182b960a6a762b3ee0e431ac9e6ffbeb", kill_on_drop: false }`
[INFO] [stdout] 9265beb3b9f4b858b9e2c187e60fccb4182b960a6a762b3ee0e431ac9e6ffbeb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4d37f2a8a33d2c9d39a8bc27e0a390129e4a0f8c09c446e30f3867591f5acf4f
[INFO] running `Command { std: "docker" "start" "-a" "4d37f2a8a33d2c9d39a8bc27e0a390129e4a0f8c09c446e30f3867591f5acf4f", 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.54s
[INFO] running `Command { std: "docker" "inspect" "4d37f2a8a33d2c9d39a8bc27e0a390129e4a0f8c09c446e30f3867591f5acf4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d37f2a8a33d2c9d39a8bc27e0a390129e4a0f8c09c446e30f3867591f5acf4f", kill_on_drop: false }`
[INFO] [stdout] 4d37f2a8a33d2c9d39a8bc27e0a390129e4a0f8c09c446e30f3867591f5acf4f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1eb252797ec80bca1d5095c2a8e26728c307675499750a79f55d94b9684ba99e
[INFO] running `Command { std: "docker" "start" "-a" "1eb252797ec80bca1d5095c2a8e26728c307675499750a79f55d94b9684ba99e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/tinkoff-invest/555d77dc1113fead/deps/tinkoff_invest-555d77dc1113fead)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test types::money::tests::test_1 ... ok
[INFO] [stdout] test types::money::tests::test_3 ... ok
[INFO] [stdout] test types::money::tests::test_2 ... 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.01s
[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::bulk_upsert (line 457) ... 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::insert (line 177) ... 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::get_by_class_code_and_ticker (line 148) ... 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::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_ticker (line 118) ... 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::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]   --> 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]   --> src/cached/cached_market_instruments.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get_by_uid<T>(&self, value: T) -> Option<types::MarketInstrument>
[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::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::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::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_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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/option.rs:608: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::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::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] ---- 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_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]    --> 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]    --> src/cached/cached_market_instruments.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |     pub fn get_by_ticker<T>(&self, value: T) -> Option<Vec<types::MarketInstrument>>
[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::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]    --> 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]    --> src/cached/cached_market_instruments.rs:348:12
[INFO] [stdout]     |
[INFO] [stdout] 346 |     pub fn delete_by_uid<T>(&self, uid: T) -> Option<types::MarketInstrument>
[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] 
[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.05s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.30s; merged doctests compilation took 0.24s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1eb252797ec80bca1d5095c2a8e26728c307675499750a79f55d94b9684ba99e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1eb252797ec80bca1d5095c2a8e26728c307675499750a79f55d94b9684ba99e", kill_on_drop: false }`
[INFO] [stdout] 1eb252797ec80bca1d5095c2a8e26728c307675499750a79f55d94b9684ba99e
