[INFO] cloning repository https://github.com/kpfromer/memory-allocator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpfromer/memory-allocator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpfromer%2Fmemory-allocator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpfromer%2Fmemory-allocator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f679b8c235ae4a65661524eceb84bec71ade7d39 [INFO] testing kpfromer/memory-allocator against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpfromer%2Fmemory-allocator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kpfromer/memory-allocator [INFO] finished tweaking git repo https://github.com/kpfromer/memory-allocator [INFO] tweaked toml for git repo https://github.com/kpfromer/memory-allocator written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kpfromer/memory-allocator on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kpfromer/memory-allocator 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 303a5eaa31ec064d583ad43d58487e63b4682a9b813b6db030f858b5b73509df [INFO] running `Command { std: "docker" "start" "-a" "303a5eaa31ec064d583ad43d58487e63b4682a9b813b6db030f858b5b73509df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "303a5eaa31ec064d583ad43d58487e63b4682a9b813b6db030f858b5b73509df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303a5eaa31ec064d583ad43d58487e63b4682a9b813b6db030f858b5b73509df", kill_on_drop: false }` [INFO] [stdout] 303a5eaa31ec064d583ad43d58487e63b4682a9b813b6db030f858b5b73509df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69efff7cb7a79b89f001922d48c2fbb62ac869994695d52828c28230dc99c1d1 [INFO] running `Command { std: "docker" "start" "-a" "69efff7cb7a79b89f001922d48c2fbb62ac869994695d52828c28230dc99c1d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling memory-allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `anyhow` and `bail` [INFO] [stdout] --> src/memory_replacement.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail, Result}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MemoryReplacement` is never used [INFO] [stdout] --> src/memory_replacement.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait MemoryReplacement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.51s [INFO] running `Command { std: "docker" "inspect" "69efff7cb7a79b89f001922d48c2fbb62ac869994695d52828c28230dc99c1d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69efff7cb7a79b89f001922d48c2fbb62ac869994695d52828c28230dc99c1d1", kill_on_drop: false }` [INFO] [stdout] 69efff7cb7a79b89f001922d48c2fbb62ac869994695d52828c28230dc99c1d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 220630c307bdd3d072efc680aef830473614721a38bb95cad3b876c37e58e60d [INFO] running `Command { std: "docker" "start" "-a" "220630c307bdd3d072efc680aef830473614721a38bb95cad3b876c37e58e60d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling terminal_size v0.1.16 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stdout] warning: unused imports: `anyhow` and `bail` [INFO] [stdout] --> src/memory_replacement.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail, Result}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MemoryReplacement` is never used [INFO] [stdout] --> src/memory_replacement.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait MemoryReplacement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling insta v1.7.1 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling predicates v1.0.7 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling memory-allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `anyhow` and `bail` [INFO] [stdout] --> src/memory_replacement.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, bail, Result}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MemoryReplacement` is never used [INFO] [stdout] --> src/memory_replacement.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait MemoryReplacement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.13s [INFO] running `Command { std: "docker" "inspect" "220630c307bdd3d072efc680aef830473614721a38bb95cad3b876c37e58e60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220630c307bdd3d072efc680aef830473614721a38bb95cad3b876c37e58e60d", kill_on_drop: false }` [INFO] [stdout] 220630c307bdd3d072efc680aef830473614721a38bb95cad3b876c37e58e60d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4b3ce3c4a919076f58c955b7df7d79d5a26e8a100c1c13c66da5114a2f52183b [INFO] running `Command { std: "docker" "start" "-a" "4b3ce3c4a919076f58c955b7df7d79d5a26e8a100c1c13c66da5114a2f52183b", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `anyhow` and `bail` [INFO] [stderr] --> src/memory_replacement.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{anyhow, bail, Result}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `MemoryReplacement` is never used [INFO] [stderr] --> src/memory_replacement.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | trait MemoryReplacement { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `memory-allocator` (bin "memory-allocator") generated 2 warnings (run `cargo fix --bin "memory-allocator"` to apply 1 suggestion) [INFO] [stderr] warning: `memory-allocator` (bin "memory-allocator" test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/memory_allocator-e57ee597cadbd1b3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-03baaa4e8f5eaf82) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test prints_valid_fifo ... FAILED [INFO] [stdout] test prints_valid_opt ... FAILED [INFO] [stdout] test prints_valid_lru ... FAILED [INFO] [stdout] test prints_valid_opt_2 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- prints_valid_fifo stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(CargoError { kind: CommandFailed, context: Some("error: no bin target named `memory-replacement` in default-run packages\nhelp: available bin targets:\n memory-allocator\n"), cause: None }) } [INFO] [stdout] [INFO] [stdout] ---- prints_valid_opt stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(CargoError { kind: CommandFailed, context: Some("error: no bin target named `memory-replacement` in default-run packages\nhelp: available bin targets:\n memory-allocator\n"), cause: None }) } [INFO] [stdout] [INFO] [stdout] ---- prints_valid_lru stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(CargoError { kind: CommandFailed, context: Some("error: no bin target named `memory-replacement` in default-run packages\nhelp: available bin targets:\n memory-allocator\n"), cause: None }) } [INFO] [stdout] [INFO] [stdout] ---- prints_valid_opt_2 stdout ---- [INFO] [stdout] Error: CargoError { cause: Some(CargoError { kind: CommandFailed, context: Some("error: no bin target named `memory-replacement` in default-run packages\nhelp: available bin targets:\n memory-allocator\n"), cause: None }) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] prints_valid_fifo [INFO] [stdout] prints_valid_lru [INFO] [stdout] prints_valid_opt [INFO] [stdout] prints_valid_opt_2 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test cli` [INFO] running `Command { std: "docker" "inspect" "4b3ce3c4a919076f58c955b7df7d79d5a26e8a100c1c13c66da5114a2f52183b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3ce3c4a919076f58c955b7df7d79d5a26e8a100c1c13c66da5114a2f52183b", kill_on_drop: false }` [INFO] [stdout] 4b3ce3c4a919076f58c955b7df7d79d5a26e8a100c1c13c66da5114a2f52183b