[INFO] cloning repository https://github.com/henryrov/R01_AVALANCHE [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/henryrov/R01_AVALANCHE" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryrov%2FR01_AVALANCHE", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryrov%2FR01_AVALANCHE'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 831671d24d9135cf04340bef44013c0ea0639b29 [INFO] testing henryrov/R01_AVALANCHE against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhenryrov%2FR01_AVALANCHE" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/henryrov/R01_AVALANCHE on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/henryrov/R01_AVALANCHE [INFO] finished tweaking git repo https://github.com/henryrov/R01_AVALANCHE [INFO] tweaked toml for git repo https://github.com/henryrov/R01_AVALANCHE written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/henryrov/R01_AVALANCHE 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f50d5be2bcacf4becd9745d7de3c893912813e55e1f7417e8d7116327d7247f8 [INFO] running `Command { std: "docker" "start" "-a" "f50d5be2bcacf4becd9745d7de3c893912813e55e1f7417e8d7116327d7247f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f50d5be2bcacf4becd9745d7de3c893912813e55e1f7417e8d7116327d7247f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f50d5be2bcacf4becd9745d7de3c893912813e55e1f7417e8d7116327d7247f8", kill_on_drop: false }` [INFO] [stdout] f50d5be2bcacf4becd9745d7de3c893912813e55e1f7417e8d7116327d7247f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 675e5c97f00f3048b6e809c5a9391d5ce4a2b736d78bdf8e7c06fc84895e1264 [INFO] running `Command { std: "docker" "start" "-a" "675e5c97f00f3048b6e809c5a9391d5ce4a2b736d78bdf8e7c06fc84895e1264", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling cursive-macros v0.1.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Compiling enumset v1.1.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling cursive_core v0.4.6 [INFO] [stderr] Compiling cursive v0.21.1 [INFO] [stderr] Compiling R01_AVALANCHE v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.99s [INFO] running `Command { std: "docker" "inspect" "675e5c97f00f3048b6e809c5a9391d5ce4a2b736d78bdf8e7c06fc84895e1264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "675e5c97f00f3048b6e809c5a9391d5ce4a2b736d78bdf8e7c06fc84895e1264", kill_on_drop: false }` [INFO] [stdout] 675e5c97f00f3048b6e809c5a9391d5ce4a2b736d78bdf8e7c06fc84895e1264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 748ce2dbf4e16955f3c57ab6559761460ad0baa0748d54c34ccf983aed45499c [INFO] running `Command { std: "docker" "start" "-a" "748ce2dbf4e16955f3c57ab6559761460ad0baa0748d54c34ccf983aed45499c", kill_on_drop: false }` [INFO] [stderr] Compiling R01_AVALANCHE v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib_tests.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 219 | app_data.write_to_file("test.ron") [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `&String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/lib.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn write_to_file(&self, filename: &String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib_tests.rs:257:50 [INFO] [stdout] | [INFO] [stdout] 257 | let file_app_data = UserData::read_from_file("test.ron") [INFO] [stdout] | ------------------------ ^^^^^^^^^^ expected `&String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::string::String` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn read_from_file(filename: &String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `R01_AVALANCHE` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "748ce2dbf4e16955f3c57ab6559761460ad0baa0748d54c34ccf983aed45499c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748ce2dbf4e16955f3c57ab6559761460ad0baa0748d54c34ccf983aed45499c", kill_on_drop: false }` [INFO] [stdout] 748ce2dbf4e16955f3c57ab6559761460ad0baa0748d54c34ccf983aed45499c