[INFO] cloning repository https://github.com/conorRed/smil [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/conorRed/smil" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FconorRed%2Fsmil", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FconorRed%2Fsmil'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc7ae4241ec403dc659db21307e78af590547efa [INFO] testing conorRed/smil against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FconorRed%2Fsmil" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/conorRed/smil on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/conorRed/smil [INFO] finished tweaking git repo https://github.com/conorRed/smil [INFO] tweaked toml for git repo https://github.com/conorRed/smil written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/conorRed/smil 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" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing conorRed/smil against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FconorRed%2Fsmil" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/conorRed/smil on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/conorRed/smil [INFO] finished tweaking git repo https://github.com/conorRed/smil [INFO] tweaked toml for git repo https://github.com/conorRed/smil written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/conorRed/smil 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" "+61a9ac64344e91d62f5496627ff363d177f9daab" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c825cb60f05cefce606f9bfe3f569752d6e09646626ea1c9a67b00e0f6760167 [INFO] running `Command { std: "docker" "start" "-a" "c825cb60f05cefce606f9bfe3f569752d6e09646626ea1c9a67b00e0f6760167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c825cb60f05cefce606f9bfe3f569752d6e09646626ea1c9a67b00e0f6760167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c825cb60f05cefce606f9bfe3f569752d6e09646626ea1c9a67b00e0f6760167", kill_on_drop: false }` [INFO] [stdout] c825cb60f05cefce606f9bfe3f569752d6e09646626ea1c9a67b00e0f6760167 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd6dde1a2a684ac2e5df20abe974c4f333c872ed09e44af646ec59888cf254d2 [INFO] running `Command { std: "docker" "start" "-a" "cd6dde1a2a684ac2e5df20abe974c4f333c872ed09e44af646ec59888cf254d2", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling smil v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Factor<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 25 | variables: Vec<&'a DiscreteRandomVariable>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Factor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PMF` is never used [INFO] [stdout] --> src/lib.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | trait PMF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_graph` is never used [INFO] [stdout] --> src/lib.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn save_graph(bg: &DiGraph, filename: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.26s [INFO] running `Command { std: "docker" "inspect" "cd6dde1a2a684ac2e5df20abe974c4f333c872ed09e44af646ec59888cf254d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6dde1a2a684ac2e5df20abe974c4f333c872ed09e44af646ec59888cf254d2", kill_on_drop: false }` [INFO] [stdout] cd6dde1a2a684ac2e5df20abe974c4f333c872ed09e44af646ec59888cf254d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f9bb76f60b990d49bbd83eb539cfe17d2b11bca7e974e58f74f13a4bbc8229 [INFO] running `Command { std: "docker" "start" "-a" "75f9bb76f60b990d49bbd83eb539cfe17d2b11bca7e974e58f74f13a4bbc8229", kill_on_drop: false }` [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Factor<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 25 | variables: Vec<&'a DiscreteRandomVariable>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Factor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PMF` is never used [INFO] [stdout] --> src/lib.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | trait PMF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_graph` is never used [INFO] [stdout] --> src/lib.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn save_graph(bg: &DiGraph, filename: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smil v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `smil::assignments` [INFO] [stdout] --> examples/student.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use smil::assignments; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> examples/burglar.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | let _combinations_g = assignments(&vec![d, i, g]); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> examples/burglar.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | let _combinations_g = assignments(&vec![d, i, g]); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variables` is never read [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Factor<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 25 | variables: Vec<&'a DiscreteRandomVariable>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Factor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PMF` is never used [INFO] [stdout] --> src/lib.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | trait PMF { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_graph` is never used [INFO] [stdout] --> src/lib.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn save_graph(bg: &DiGraph, filename: &str) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> examples/carousel.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct RandomVariable<'a> { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 10 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RandomVariable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> examples/carousel.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl<'a> RandomVariable<'a> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 15 | fn new(name: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/student.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let p_g_id = Factor::new(&vec![g, i, d]); [INFO] [stdout] | ^^^^^^^^^^^---------------- an argument of type `HashMap, f32>` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `Vec<&DiscreteRandomVariable>`, found `&Vec` [INFO] [stdout] --> examples/student.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let p_g_id = Factor::new(&vec![g, i, d]); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec<&DiscreteRandomVariable>` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(variables: Vec<&DiscreteRandomVariable>, assign: HashMap, f32>) -> Factor { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 9 | let p_g_id = Factor::new(/* Vec<&DiscreteRandomVariable> */, /* HashMap, f32> */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_cpd` found for struct `DiscreteRandomVariable` in the current scope [INFO] [stdout] --> examples/burglar.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | alarm.set_cpd(vec![0.99, 0.99, 0.99, 0.01]); [INFO] [stdout] | ^^^^^^^ method not found in `DiscreteRandomVariable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_values` found for struct `Factor` in the current scope [INFO] [stdout] --> examples/student.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | p_g_id.set_values(vec![1.0, 1.0, 1.0, 1.0, 1.0, 1.0]); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Factor<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smil` (example "student") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `smil` (example "burglar") due to 4 previous errors [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "75f9bb76f60b990d49bbd83eb539cfe17d2b11bca7e974e58f74f13a4bbc8229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f9bb76f60b990d49bbd83eb539cfe17d2b11bca7e974e58f74f13a4bbc8229", kill_on_drop: false }` [INFO] [stdout] 75f9bb76f60b990d49bbd83eb539cfe17d2b11bca7e974e58f74f13a4bbc8229