[INFO] cloning repository https://github.com/BaxoPlenty/rustylms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BaxoPlenty/rustylms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaxoPlenty%2Frustylms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaxoPlenty%2Frustylms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17c1825ebe834f92728113f06903039759cdd03f
[INFO] testing BaxoPlenty/rustylms against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaxoPlenty%2Frustylms" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BaxoPlenty/rustylms
[INFO] finished tweaking git repo https://github.com/BaxoPlenty/rustylms
[INFO] tweaked toml for git repo https://github.com/BaxoPlenty/rustylms written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BaxoPlenty/rustylms on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BaxoPlenty/rustylms 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" "+1.97.0-beta.6" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded reqwest v0.12.5
[INFO] [stderr]   Downloaded sync_wrapper v1.0.1
[INFO] [stderr]   Downloaded object v0.36.0
[INFO] [stderr]   Downloaded hyper-util v0.1.5
[INFO] [stderr]   Downloaded h2 v0.4.5
[INFO] [stderr]   Downloaded hyper-rustls v0.27.2
[INFO] [stderr]   Downloaded rustls v0.23.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9
[INFO] running `Command { std: "docker" "start" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling rustls-pki-types v1.7.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.5
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling reqwest v0.12.5
[INFO] [stderr]    Compiling rustylms v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.04s
[INFO] running `Command { std: "docker" "inspect" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustylms v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustylms-aeb00e7aa15483d8)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rustylms
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lmsserver.rs - lmsserver::LMSServer::new (line 21) ... FAILED
[INFO] [stdout] test src/lmsserver.rs - lmsserver::LMSServer::get_models (line 40) ... FAILED
[INFO] [stdout] test src/chat.rs - chat::Chat::new (line 21) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lmsserver.rs - lmsserver::LMSServer::new (line 21) stdout ----
[INFO] [stdout] error: expected item, found `import`
[INFO] [stdout]   --> src/lmsserver.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | import rustylms::lmsserver::LMSServer;
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: items are imported using the `use` keyword
[INFO] [stdout]    |
[INFO] [stdout] 22 - import rustylms::lmsserver::LMSServer;
[INFO] [stdout] 22 + use rustylms::lmsserver::LMSServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/lmsserver.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | let server = LMSServer::new("http://localhost:1234");
[INFO] [stdout]    | ^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `let` cannot be used for global variables
[INFO] [stdout]    | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lmsserver.rs - lmsserver::LMSServer::get_models (line 40) stdout ----
[INFO] [stdout] error: expected item, found `import`
[INFO] [stdout]   --> src/lmsserver.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | import rustylms::lmsserver::LMSServer;
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: items are imported using the `use` keyword
[INFO] [stdout]    |
[INFO] [stdout] 41 - import rustylms::lmsserver::LMSServer;
[INFO] [stdout] 41 + use rustylms::lmsserver::LMSServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/lmsserver.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | let server = LMSServer::new("http://localhost:1234");
[INFO] [stdout]    | ^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `let` cannot be used for global variables
[INFO] [stdout]    | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/chat.rs - chat::Chat::new (line 21) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/chat.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_chat_rs_21_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 30 | let completion = chat.get_completions(&server).await.expect("Could not get completions");
[INFO] [stdout]    |                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/chat.rs - chat::Chat::new (line 21)
[INFO] [stdout]     src/lmsserver.rs - lmsserver::LMSServer::get_models (line 40)
[INFO] [stdout]     src/lmsserver.rs - lmsserver::LMSServer::new (line 21)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9", kill_on_drop: false }`
[INFO] [stdout] 8eb856d68b65d650eb4f7ff3ceac4a1b4ba1d8681faacb4dde8ad7481442d9a9
