[INFO] fetching crate hindley-milner 0.1.0... [INFO] testing hindley-milner-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hindley-milner 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hindley-milner 0.1.0 [INFO] finished tweaking crates.io crate hindley-milner 0.1.0 [INFO] tweaked toml for crates.io crate hindley-milner 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hindley-milner 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding maplit v0.1.6 (available: v1.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 maplit v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00d67c395dc26d75c4b34bd77ceb322227559d6b8cde711f6f87cd0ca1552df8 [INFO] running `Command { std: "docker" "start" "-a" "00d67c395dc26d75c4b34bd77ceb322227559d6b8cde711f6f87cd0ca1552df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00d67c395dc26d75c4b34bd77ceb322227559d6b8cde711f6f87cd0ca1552df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d67c395dc26d75c4b34bd77ceb322227559d6b8cde711f6f87cd0ca1552df8", kill_on_drop: false }` [INFO] [stdout] 00d67c395dc26d75c4b34bd77ceb322227559d6b8cde711f6f87cd0ca1552df8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] eaf1d6fb117a42a3afbb1df8a52e6779fba6f6fe5267a9b0a3e64f68c69c639e [INFO] running `Command { std: "docker" "start" "-a" "eaf1d6fb117a42a3afbb1df8a52e6779fba6f6fe5267a9b0a3e64f68c69c639e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Compiling hindley-milner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | // Basic integer [INFO] [stdout] 208 | | static ref INTEGER: Type = Type::new_operator(0, "int", &[]); [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | // Basic integer [INFO] [stdout] 208 | | static ref INTEGER: Type = Type::new_operator(0, "int", &[]); [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Namer` is never constructed [INFO] [stdout] --> src/lib.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct Namer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next` and `name` are never used [INFO] [stdout] --> src/lib.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl Namer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 83 | fn next(&mut self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn name(&mut self, t: ArenaType) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `as_string` are never used [INFO] [stdout] --> src/lib.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 108 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn id(&self) -> usize { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn as_string(&self, a: &Vec, namer: &mut Namer) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_env` is never used [INFO] [stdout] --> src/lib.rs:537:4 [INFO] [stdout] | [INFO] [stdout] 537 | fn test_env() -> (Vec, Env) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "eaf1d6fb117a42a3afbb1df8a52e6779fba6f6fe5267a9b0a3e64f68c69c639e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf1d6fb117a42a3afbb1df8a52e6779fba6f6fe5267a9b0a3e64f68c69c639e", kill_on_drop: false }` [INFO] [stdout] eaf1d6fb117a42a3afbb1df8a52e6779fba6f6fe5267a9b0a3e64f68c69c639e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f0999ae818cf90af3a17718811744bf399912dc8eba9fe7c11f68b38f47f18bc [INFO] running `Command { std: "docker" "start" "-a" "f0999ae818cf90af3a17718811744bf399912dc8eba9fe7c11f68b38f47f18bc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling hindley-milner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | // Basic integer [INFO] [stdout] 208 | | static ref INTEGER: Type = Type::new_operator(0, "int", &[]); [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | // Basic integer [INFO] [stdout] 208 | | static ref INTEGER: Type = Type::new_operator(0, "int", &[]); [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "f0999ae818cf90af3a17718811744bf399912dc8eba9fe7c11f68b38f47f18bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0999ae818cf90af3a17718811744bf399912dc8eba9fe7c11f68b38f47f18bc", kill_on_drop: false }` [INFO] [stdout] f0999ae818cf90af3a17718811744bf399912dc8eba9fe7c11f68b38f47f18bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1b83577415a430dc5a4b8c8b07f28adb15a4f0e13d3c7e1c7c9cd00ba5ac69fe [INFO] running `Command { std: "docker" "start" "-a" "1b83577415a430dc5a4b8c8b07f28adb15a4f0e13d3c7e1c7c9cd00ba5ac69fe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lib.rs:206:1 [INFO] [stderr] | [INFO] [stderr] 206 | / lazy_static! { [INFO] [stderr] 207 | | // Basic integer [INFO] [stderr] 208 | | static ref INTEGER: Type = Type::new_operator(0, "int", &[]); [INFO] [stderr] ... | [INFO] [stderr] 211 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lib.rs:206:1 [INFO] [stderr] | [INFO] [stderr] 206 | / lazy_static! { [INFO] [stderr] 207 | | // Basic integer [INFO] [stderr] 208 | | static ref INTEGER: Type = Type::new_operator(0, "int", &[]); [INFO] [stderr] ... | [INFO] [stderr] 211 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hindley-milner` (lib test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hindley_milner-f6e9a0cf920adec6) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_factorial ... ok [INFO] [stdout] test test_generic_nongeneric ... ok [INFO] [stdout] test test_mul ... ok [INFO] [stdout] test test_composition ... ok [INFO] [stdout] test test_int ... ok [INFO] [stdout] test test_fun ... ok [INFO] [stdout] test test_pair - should panic ... ok [INFO] [stdout] test test_recursive - should panic ... ok [INFO] [stdout] test test_mismatch - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1b83577415a430dc5a4b8c8b07f28adb15a4f0e13d3c7e1c7c9cd00ba5ac69fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b83577415a430dc5a4b8c8b07f28adb15a4f0e13d3c7e1c7c9cd00ba5ac69fe", kill_on_drop: false }` [INFO] [stdout] 1b83577415a430dc5a4b8c8b07f28adb15a4f0e13d3c7e1c7c9cd00ba5ac69fe