[INFO] fetching crate adapton-lab 0.1.0... [INFO] checking adapton-lab-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate adapton-lab 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate adapton-lab 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate adapton-lab 0.1.0 [INFO] finished tweaking crates.io crate adapton-lab 0.1.0 [INFO] tweaked toml for crates.io crate adapton-lab 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v1.3.2 [INFO] [stderr] Downloaded adapton v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de4b78f59f7d6a5cae275f024badfbd35a3fc740944194a0e318cacb64a52f11 [INFO] running `Command { std: "docker" "start" "-a" "de4b78f59f7d6a5cae275f024badfbd35a3fc740944194a0e318cacb64a52f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de4b78f59f7d6a5cae275f024badfbd35a3fc740944194a0e318cacb64a52f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4b78f59f7d6a5cae275f024badfbd35a3fc740944194a0e318cacb64a52f11", kill_on_drop: false }` [INFO] [stdout] de4b78f59f7d6a5cae275f024badfbd35a3fc740944194a0e318cacb64a52f11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09ef266be2bbbfc7e48b07101440d47e64d3f4400232473cf8ee5d0cf38a9df3 [INFO] running `Command { std: "docker" "start" "-a" "09ef266be2bbbfc7e48b07101440d47e64d3f4400232473cf8ee5d0cf38a9df3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking strsim v0.4.1 [INFO] [stderr] Checking ansi_term v0.6.3 [INFO] [stderr] Checking adapton v0.3.31 [INFO] [stderr] Checking clap v1.3.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking adapton-lab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/labdef.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn compute(Input) -> Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/labdef.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn compute(Input, usize) -> Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/labdef.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | fn compute(Input, usize) -> Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | labs:&Vec>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/labviz.rs:498:3 [INFO] [stdout] | [INFO] [stdout] 498 | /// We style this with clear:both, and without any appearance [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | writeln!(writer, "
").unwrap(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:502:56 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn write_lab_name(writer:&mut W, lab:&Box, is_title:bool) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 546 | _lab:&Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/labviz.rs:586:3 [INFO] [stdout] | [INFO] [stdout] 586 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:687:54 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn write_lab_results(params:&LabParams, lab:&Box, results:&LabResults) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/labdef.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | fn compute(Input) -> Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/labdef.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn compute(Input, usize) -> Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Input` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/labdef.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | fn compute(Input, usize) -> Output; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | labs:&Vec>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/labviz.rs:498:3 [INFO] [stdout] | [INFO] [stdout] 498 | /// We style this with clear:both, and without any appearance [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 499 | writeln!(writer, "
").unwrap(); [INFO] [stdout] | ---------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:502:56 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn write_lab_name(writer:&mut W, lab:&Box, is_title:bool) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:546:14 [INFO] [stdout] | [INFO] [stdout] 546 | _lab:&Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/labviz.rs:586:3 [INFO] [stdout] | [INFO] [stdout] 586 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/labviz.rs:687:54 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn write_lab_results(params:&LabParams, lab:&Box, results:&LabResults) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Lab` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | trace::Effect::Force(_) if tr.edge.succ.is_dup => "tr-force-dup", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:379:52 [INFO] [stdout] | [INFO] [stdout] 379 | trace::Effect::Force(_) if tr.edge.succ.is_dup => "ForceDup", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `loc` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | match (tr.effect.clone(), tr.edge.loc.clone()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:359:46 [INFO] [stdout] | [INFO] [stdout] 359 | trace::Effect::Force(_) if tr.edge.succ.is_dup => "tr-force-dup", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:379:52 [INFO] [stdout] | [INFO] [stdout] 379 | trace::Effect::Force(_) if tr.edge.succ.is_dup => "ForceDup", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `loc` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:401:45 [INFO] [stdout] | [INFO] [stdout] 401 | match (tr.effect.clone(), tr.edge.loc.clone()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/labviz.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | _ => div_of_edge(&tr.edge) [INFO] [stdout] | ^^^^^^^^ expected struct `Edge`, found enum `EffectEdge` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Edge` [INFO] [stdout] found reference `&EffectEdge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/labviz.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | _ => div_of_edge(&tr.edge) [INFO] [stdout] | ^^^^^^^^ expected struct `Edge`, found enum `EffectEdge` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Edge` [INFO] [stdout] found reference `&EffectEdge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:522:53 [INFO] [stdout] | [INFO] [stdout] 522 | let succs : Vec<_> = traces.iter().map(|t| t.edge.succ.clone()).collect(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:531:16 [INFO] [stdout] | [INFO] [stdout] 531 | if tr.edge.succ.effect == effect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:534:64 [INFO] [stdout] | [INFO] [stdout] 534 | div_of_alloc_tree(dcg, &mut HashMap::new(), &tr.edge.succ.loc) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:522:53 [INFO] [stdout] | [INFO] [stdout] 522 | let succs : Vec<_> = traces.iter().map(|t| t.edge.succ.clone()).collect(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:537:64 [INFO] [stdout] | [INFO] [stdout] 537 | div_of_force_tree(dcg,&mut HashMap::new(), &tr.edge.succ.loc) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:531:16 [INFO] [stdout] | [INFO] [stdout] 531 | if tr.edge.succ.effect == effect { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:534:64 [INFO] [stdout] | [INFO] [stdout] 534 | div_of_alloc_tree(dcg, &mut HashMap::new(), &tr.edge.succ.loc) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `succ` on type `EffectEdge` [INFO] [stdout] --> src/labviz.rs:537:64 [INFO] [stdout] | [INFO] [stdout] 537 | div_of_force_tree(dcg,&mut HashMap::new(), &tr.edge.succ.loc) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adapton-lab` due to 9 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "09ef266be2bbbfc7e48b07101440d47e64d3f4400232473cf8ee5d0cf38a9df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09ef266be2bbbfc7e48b07101440d47e64d3f4400232473cf8ee5d0cf38a9df3", kill_on_drop: false }` [INFO] [stdout] 09ef266be2bbbfc7e48b07101440d47e64d3f4400232473cf8ee5d0cf38a9df3