[INFO] fetching crate metarepo-core 0.7.2... [INFO] testing metarepo-core-0.7.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate metarepo-core 0.7.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate metarepo-core 0.7.2 [INFO] finished tweaking crates.io crate metarepo-core 0.7.2 [INFO] tweaked toml for crates.io crate metarepo-core 0.7.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate metarepo-core 0.7.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate metarepo-core 0.7.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a307d72fe23aa6eaeca84233cbe8557b575e2a75d8bb02de939e34e96e047acd [INFO] running `Command { std: "docker" "start" "-a" "a307d72fe23aa6eaeca84233cbe8557b575e2a75d8bb02de939e34e96e047acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a307d72fe23aa6eaeca84233cbe8557b575e2a75d8bb02de939e34e96e047acd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a307d72fe23aa6eaeca84233cbe8557b575e2a75d8bb02de939e34e96e047acd", kill_on_drop: false }` [INFO] [stdout] a307d72fe23aa6eaeca84233cbe8557b575e2a75d8bb02de939e34e96e047acd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81bf9a93c81fa3c43d488b82e40fea9ee9e30be42fcdeef144492905829d214a [INFO] running `Command { std: "docker" "start" "-a" "81bf9a93c81fa3c43d488b82e40fea9ee9e30be42fcdeef144492905829d214a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling metarepo-core v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.84s [INFO] running `Command { std: "docker" "inspect" "81bf9a93c81fa3c43d488b82e40fea9ee9e30be42fcdeef144492905829d214a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81bf9a93c81fa3c43d488b82e40fea9ee9e30be42fcdeef144492905829d214a", kill_on_drop: false }` [INFO] [stdout] 81bf9a93c81fa3c43d488b82e40fea9ee9e30be42fcdeef144492905829d214a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a79a08b3eb486a4a94b029a5029913bd90a4cbdc0691dc300dcf4c51dcfca12 [INFO] running `Command { std: "docker" "start" "-a" "4a79a08b3eb486a4a94b029a5029913bd90a4cbdc0691dc300dcf4c51dcfca12", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling metarepo-core v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:348:56 [INFO] [stdout] | [INFO] [stdout] 348 | config.projects.insert("project1".to_string(), "https://github.com/user/repo.git".to_string()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ProjectEntry`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `std::string::String` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | config.projects.insert("project1".to_string(), "https://github.com/user/repo.git".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/collections/hash/map.rs:1207:12 [INFO] [stdout] help: try wrapping the expression in `ProjectEntry::Url` [INFO] [stdout] | [INFO] [stdout] 348 | config.projects.insert("project1".to_string(), ProjectEntry::Url("https://github.com/user/repo.git".to_string())); [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:349:56 [INFO] [stdout] | [INFO] [stdout] 349 | config.projects.insert("project2".to_string(), "https://github.com/user/repo2.git".to_string()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ProjectEntry`, found `String` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] help: the return type of this call is `std::string::String` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | config.projects.insert("project2".to_string(), "https://github.com/user/repo2.git".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/collections/hash/map.rs:1207:12 [INFO] [stdout] help: try wrapping the expression in `ProjectEntry::Url` [INFO] [stdout] | [INFO] [stdout] 349 | config.projects.insert("project2".to_string(), ProjectEntry::Url("https://github.com/user/repo2.git".to_string())); [INFO] [stdout] | ++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::option::Option<&ProjectEntry>` [INFO] [stdout] --> src/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | assert_eq!(loaded_config.projects.get("project1"), Some(&"https://github.com/user/repo.git".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::option::Option<&ProjectEntry> [INFO] [stdout] | std::option::Option<&std::string::String> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::option::Option<&ProjectEntry>` doesn't implement `PartialEq>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/option.rs:593:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::option::Option<&ProjectEntry>` [INFO] [stdout] --> src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | assert_eq!(loaded_config.projects.get("project2"), Some(&"https://github.com/user/repo2.git".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | std::option::Option<&ProjectEntry> [INFO] [stdout] | std::option::Option<&std::string::String> [INFO] [stdout] | [INFO] [stdout] note: the foreign item type `std::option::Option<&ProjectEntry>` doesn't implement `PartialEq>` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/option.rs:593:1 [INFO] [stdout] | [INFO] [stdout] = note: not implement `PartialEq>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metarepo-core` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "4a79a08b3eb486a4a94b029a5029913bd90a4cbdc0691dc300dcf4c51dcfca12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a79a08b3eb486a4a94b029a5029913bd90a4cbdc0691dc300dcf4c51dcfca12", kill_on_drop: false }` [INFO] [stdout] 4a79a08b3eb486a4a94b029a5029913bd90a4cbdc0691dc300dcf4c51dcfca12