[INFO] cloning repository https://github.com/bani2016up/colab-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bani2016up/colab-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbani2016up%2Fcolab-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbani2016up%2Fcolab-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f93b90d2cddc7378180f9a1c8c464e92e86db201 [INFO] testing bani2016up/colab-engine against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbani2016up%2Fcolab-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bani2016up/colab-engine [INFO] finished tweaking git repo https://github.com/bani2016up/colab-engine [INFO] tweaked toml for git repo https://github.com/bani2016up/colab-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bani2016up/colab-engine on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bani2016up/colab-engine 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ea4ed39fb49fd3f24f88652e5ea12662add0c39101b9241a67ddc14ff93069 [INFO] running `Command { std: "docker" "start" "-a" "42ea4ed39fb49fd3f24f88652e5ea12662add0c39101b9241a67ddc14ff93069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ea4ed39fb49fd3f24f88652e5ea12662add0c39101b9241a67ddc14ff93069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ea4ed39fb49fd3f24f88652e5ea12662add0c39101b9241a67ddc14ff93069", kill_on_drop: false }` [INFO] [stdout] 42ea4ed39fb49fd3f24f88652e5ea12662add0c39101b9241a67ddc14ff93069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ca9a9f416238379888478af3df8882214e1d81dccc7ededc1a8dcb7609ad42b [INFO] running `Command { std: "docker" "start" "-a" "3ca9a9f416238379888478af3df8882214e1d81dccc7ededc1a8dcb7609ad42b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling colab-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/infrastructure/mmap_file_sys.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/infrastructure/mmap_file_sys.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ViewportRequest` is never constructed [INFO] [stdout] --> src/application/dto/code_file.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ViewportRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateCodeRequest` is never constructed [INFO] [stdout] --> src/application/dto/code_file.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UpdateCodeRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateCodeFileRequest` is never constructed [INFO] [stdout] --> src/application/dto/code_file.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CreateCodeFileRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeFileResponse` is never constructed [INFO] [stdout] --> src/application/dto/code_file.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CodeFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApplicationError` is never used [INFO] [stdout] --> src/application/errors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ApplicationError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CodeFileRepository` is never used [INFO] [stdout] --> src/application/repositories/code_file_repository.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait CodeFileRepository: Send + Sync [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CodeFileUsecases` is never used [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait CodeFileUsecases: Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeFileUsecasesImpl` is never constructed [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct CodeFileUsecasesImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl CodeFileUsecasesImpl { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(repository: Box>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeFile` is never constructed [INFO] [stdout] --> src/domain/code_file.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CodeFile [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `id` are never used [INFO] [stdout] --> src/domain/code_file.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 15 | / impl CodeFile [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | FileSource: DynemicFileRead + DynemicFileWrite + DynemicFileCreateDelete, [INFO] [stdout] | |_____________________________________________________________________________- associated items in this implementation [INFO] [stdout] 18 | { [INFO] [stdout] 19 | pub fn new(id: Uuid, name: String, source: FileSource) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn id(&self) -> Uuid { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DynemicFileCreateDelete` is never used [INFO] [stdout] --> src/domain/traits/dyn_file.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait DynemicFileCreateDelete { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DynemicFileRead` is never used [INFO] [stdout] --> src/domain/traits/dyn_file.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait DynemicFileRead { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DynemicFileWrite` is never used [INFO] [stdout] --> src/domain/traits/dyn_file.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait DynemicFileWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Mergable` is never used [INFO] [stdout] --> src/domain/traits/merge.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Mergable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MmapFileSystemSource` is never constructed [INFO] [stdout] --> src/infrastructure/mmap_file_sys.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MmapFileSystemSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/infrastructure/mmap_file_sys.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MmapFileSystemSource { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(path: PathBuf) -> std::io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryCodeFileRepository` is never constructed [INFO] [stdout] --> src/infrastructure/persistence/in_memory_repository.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct InMemoryCodeFileRepository [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/infrastructure/persistence/in_memory_repository.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl InMemoryCodeFileRepository [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | FileSource: DynemicFileRead + DynemicFileWrite + DynemicFileCreateDelete, [INFO] [stdout] | |_____________________________________________________________________________- associated function in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.32s [INFO] running `Command { std: "docker" "inspect" "3ca9a9f416238379888478af3df8882214e1d81dccc7ededc1a8dcb7609ad42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca9a9f416238379888478af3df8882214e1d81dccc7ededc1a8dcb7609ad42b", kill_on_drop: false }` [INFO] [stdout] 3ca9a9f416238379888478af3df8882214e1d81dccc7ededc1a8dcb7609ad42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d440f26306b30890ade998193557bed920d1e601243ab375dd8f3f07124bde6d [INFO] running `Command { std: "docker" "start" "-a" "d440f26306b30890ade998193557bed920d1e601243ab375dd8f3f07124bde6d", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling colab-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::application::repositories::code_file_repository::CodeFileRepository` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | use crate::application::repositories::code_file_repository::CodeFileRepository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::code_file::CodeFile` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | use crate::domain::code_file::CodeFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MmapMut` [INFO] [stdout] --> src/infrastructure/mmap_file_sys.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use memmap2::{Mmap, MmapMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/infrastructure/mmap_file_sys.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_dir` [INFO] [stdout] --> src/application/usecases/code_file_usecases.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domain/code_file.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut file_wrapper = TestFileWrapper { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end_index` is never read [INFO] [stdout] --> src/application/dto/code_file.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ViewportRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 4 | pub start_index: u64, [INFO] [stdout] 5 | pub end_index: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application/errors.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | FileNotFound(String), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - FileNotFound(String), [INFO] [stdout] 4 + FileNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/application/errors.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - IoError(std::io::Error), [INFO] [stdout] 5 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseError` and `InvalidRange` are never constructed [INFO] [stdout] --> src/application/errors.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ApplicationError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | ParseError(serde_json::Error), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | InvalidRange(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> src/application/repositories/code_file_repository.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait CodeFileRepository: Send + Sync [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn list(&self) -> Result>, ApplicationError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Mergable` is never used [INFO] [stdout] --> src/domain/traits/merge.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Mergable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.69s [INFO] running `Command { std: "docker" "inspect" "d440f26306b30890ade998193557bed920d1e601243ab375dd8f3f07124bde6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d440f26306b30890ade998193557bed920d1e601243ab375dd8f3f07124bde6d", kill_on_drop: false }` [INFO] [stdout] d440f26306b30890ade998193557bed920d1e601243ab375dd8f3f07124bde6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21f9a00b014bee02b05d64d9839bc333a62acfcde0611e07994eec6e5925557d [INFO] running `Command { std: "docker" "start" "-a" "21f9a00b014bee02b05d64d9839bc333a62acfcde0611e07994eec6e5925557d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::application::repositories::code_file_repository::CodeFileRepository` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | use crate::application::repositories::code_file_repository::CodeFileRepository; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::domain::code_file::CodeFile` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | use crate::domain::code_file::CodeFile; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Arc` and `Mutex` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:118:21 [INFO] [stderr] | [INFO] [stderr] 118 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MmapMut` [INFO] [stderr] --> src/infrastructure/mmap_file_sys.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use memmap2::{Mmap, MmapMut}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `OpenOptions` [INFO] [stderr] --> src/infrastructure/mmap_file_sys.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fs::{File, OpenOptions}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_dir` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:125:13 [INFO] [stderr] | [INFO] [stderr] 125 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_dir` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_dir` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:178:13 [INFO] [stderr] | [INFO] [stderr] 178 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_dir` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_dir` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:258:13 [INFO] [stderr] | [INFO] [stderr] 258 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_dir` [INFO] [stderr] --> src/application/usecases/code_file_usecases.rs:296:13 [INFO] [stderr] | [INFO] [stderr] 296 | let temp_dir = TempDir::new().expect("Failed to create temp dir"); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_dir` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/domain/code_file.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | let mut file_wrapper = TestFileWrapper { [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `end_index` is never read [INFO] [stderr] --> src/application/dto/code_file.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct ViewportRequest { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 4 | pub start_index: u64, [INFO] [stderr] 5 | pub end_index: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/application/errors.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | FileNotFound(String), [INFO] [stderr] | ------------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 4 - FileNotFound(String), [INFO] [stderr] 4 + FileNotFound(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/application/errors.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | IoError(std::io::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 5 - IoError(std::io::Error), [INFO] [stderr] 5 + IoError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variants `ParseError` and `InvalidRange` are never constructed [INFO] [stderr] --> src/application/errors.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum ApplicationError { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 6 | ParseError(serde_json::Error), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 7 | InvalidRange(usize), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApplicationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `list` is never used [INFO] [stderr] --> src/application/repositories/code_file_repository.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub trait CodeFileRepository: Send + Sync [INFO] [stderr] | ------------------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 14 | fn list(&self) -> Result>, ApplicationError>; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Mergable` is never used [INFO] [stderr] --> src/domain/traits/merge.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait Mergable { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `colab-engine` (bin "colab-engine" test) generated 19 warnings (run `cargo fix --bin "colab-engine" -p colab-engine --tests` to apply 13 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/colab_engine-6ef2020473f0cd8e) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_delete_code_file_not_found ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_update_code_file_not_found ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_get_code_file_not_found ... ok [INFO] [stdout] test domain::code_file::tests::test_code_file_set_content ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_create_code_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_create_file ... ok [INFO] [stdout] test domain::code_file::tests::test_code_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_delete_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_get_content_empty_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_large_file ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_multiple_files_isolation ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_update_code_file ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_get_code_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_delete_file_with_mmap ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_get_slice ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_create_file_already_exists ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_delete_code_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_get_slice_full_content ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_get_content ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_delete_nonexistent_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_create_then_delete_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_new_mmap_file_system_source ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_new_with_nonexistent_file ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_set_content_empty ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_set_slice ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_unicode_content ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_set_content ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_set_slice_middle ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_multiple_operations ... ok [INFO] [stdout] test infrastructure::mmap_file_sys::tests::test_create_file_invalid_path ... ok [INFO] [stdout] test application::usecases::code_file_usecases::tests::test_update_code_file_partial ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- application::usecases::code_file_usecases::tests::test_update_code_file_partial stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'application::usecases::code_file_usecases::tests::test_update_code_file_partial' (32) panicked at src/infrastructure/mmap_file_sys.rs:68:43: [INFO] [stdout] Failed to open file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a060600d752 - std[ed5b486fa4cdb954]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a060600d752 - std[ed5b486fa4cdb954]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a060600d752 - std[ed5b486fa4cdb954]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5a060600d752 - <::print::DisplayBacktrace as core[ab67b43d93431064]::fmt::Display>::fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5a06060221ca - ::fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5a06060221ca - core[ab67b43d93431064]::fmt::write [INFO] [stdout] 6: 0x5a0606012666 - std[ed5b486fa4cdb954]::io::default_write_fmt::> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5a0606012666 - as std[ed5b486fa4cdb954]::io::Write>::write_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5a0605fea22f - ::print [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5a0605fea22f - std[ed5b486fa4cdb954]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5a0606004e69 - std[ed5b486fa4cdb954]::panicking::default_hook [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5a0605f9043e - core[ab67b43d93431064]::ops::function::Fn<(&'a std[ed5b486fa4cdb954]::panic::PanicHookInfo<'b>,), Output = ()> + core[ab67b43d93431064]::marker::Send + core[ab67b43d93431064]::marker::Sync> as core[ab67b43d93431064]::ops::function::Fn<(&std[ed5b486fa4cdb954]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x5a0605f9043e - test[f0ec78552bebb08e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5a0606005022 - core[ab67b43d93431064]::ops::function::Fn<(&'a std[ed5b486fa4cdb954]::panic::PanicHookInfo<'b>,), Output = ()> + core[ab67b43d93431064]::marker::Send + core[ab67b43d93431064]::marker::Sync> as core[ab67b43d93431064]::ops::function::Fn<(&std[ed5b486fa4cdb954]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x5a0606005022 - std[ed5b486fa4cdb954]::panicking::panic_with_hook [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5a0605fea2e8 - std[ed5b486fa4cdb954]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5a0605fe1b69 - std[ed5b486fa4cdb954]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5a0605feb13d - __rustc[5067f77124470312]::rust_begin_unwind [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5a060602289c - core[ab67b43d93431064]::panicking::panic_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5a0606022612 - core[ab67b43d93431064]::result::unwrap_failed [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x5a0605f6ccee - >::expect [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x5a0605f7498a - ::set_content [INFO] [stdout] at /opt/rustwide/workdir/src/infrastructure/mmap_file_sys.rs:68:43 [INFO] [stdout] 22: 0x5a0605f74d58 - ::set_slice [INFO] [stdout] at /opt/rustwide/workdir/src/infrastructure/mmap_file_sys.rs:63:14 [INFO] [stdout] 23: 0x5a0605f76645 - ::update_code_file [INFO] [stdout] at /opt/rustwide/workdir/src/application/usecases/code_file_usecases.rs:71:26 [INFO] [stdout] 24: 0x5a0605f7c3fd - colab_engine[11f77577342d0b8e]::application::usecases::code_file_usecases::tests::test_update_code_file_partial [INFO] [stdout] at /opt/rustwide/workdir/src/application/usecases/code_file_usecases.rs:229:31 [INFO] [stdout] 25: 0x5a0605f78fa7 - colab_engine[11f77577342d0b8e]::application::usecases::code_file_usecases::tests::test_update_code_file_partial::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/application/usecases/code_file_usecases.rs:203:39 [INFO] [stdout] 26: 0x5a0605f7e466 - >::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x5a0605f847eb - core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x5a0605f847eb - test[f0ec78552bebb08e]::__rust_begin_short_backtrace::, fn() -> core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x5a0605f9104a - test[f0ec78552bebb08e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x5a0605f9104a - as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x5a0605f9104a - std[ed5b486fa4cdb954]::panicking::catch_unwind::do_call::, core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 32: 0x5a0605f9104a - std[ed5b486fa4cdb954]::panicking::catch_unwind::, core[ab67b43d93431064]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 33: 0x5a0605f9104a - std[ed5b486fa4cdb954]::panic::catch_unwind::, core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5a0605f9104a - test[f0ec78552bebb08e]::run_test_in_process [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x5a0605f9104a - test[f0ec78552bebb08e]::run_test::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x5a0605f8c5f4 - test[f0ec78552bebb08e]::run_test::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x5a0605f8c5f4 - std[ed5b486fa4cdb954]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 38: 0x5a0605f93b42 - std[ed5b486fa4cdb954]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 39: 0x5a0605f93b42 - ::{closure#1}::{closure#0}> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x5a0605f93b42 - std[ed5b486fa4cdb954]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 41: 0x5a0605f93b42 - std[ed5b486fa4cdb954]::panicking::catch_unwind::<(), core[ab67b43d93431064]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 42: 0x5a0605f93b42 - std[ed5b486fa4cdb954]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x5a0605f93b42 - std[ed5b486fa4cdb954]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 44: 0x5a0605f93b42 - ::{closure#1} as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5a060600cabf - + core[ab67b43d93431064]::marker::Send> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 46: 0x5a060600cabf - ::new::thread_start [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 47: 0x7d43a491aaa4 - [INFO] [stdout] 48: 0x7d43a49a7a64 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] application::usecases::code_file_usecases::tests::test_update_code_file_partial [INFO] [stdout] [INFO] [stdout] test result: FAILED. 30 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin colab-engine` [INFO] running `Command { std: "docker" "inspect" "21f9a00b014bee02b05d64d9839bc333a62acfcde0611e07994eec6e5925557d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f9a00b014bee02b05d64d9839bc333a62acfcde0611e07994eec6e5925557d", kill_on_drop: false }` [INFO] [stdout] 21f9a00b014bee02b05d64d9839bc333a62acfcde0611e07994eec6e5925557d