[INFO] fetching crate physical-quantity 0.0.5... [INFO] building physical-quantity-0.0.5 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate physical-quantity 0.0.5 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate physical-quantity 0.0.5 [INFO] finished tweaking crates.io crate physical-quantity 0.0.5 [INFO] tweaked toml for crates.io crate physical-quantity 0.0.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate physical-quantity 0.0.5 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate physical-quantity 0.0.5 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0fe56588441c620d6d5a7a9723efc1af9db5833d954386844c5f0341f0fc373 [INFO] running `Command { std: "docker" "start" "-a" "b0fe56588441c620d6d5a7a9723efc1af9db5833d954386844c5f0341f0fc373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0fe56588441c620d6d5a7a9723efc1af9db5833d954386844c5f0341f0fc373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0fe56588441c620d6d5a7a9723efc1af9db5833d954386844c5f0341f0fc373", kill_on_drop: false }` [INFO] [stdout] b0fe56588441c620d6d5a7a9723efc1af9db5833d954386844c5f0341f0fc373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fa7210f570d1944ffd89b394a064c064fa373b69e69038926c66ab3a89f8c5e [INFO] running `Command { std: "docker" "start" "-a" "0fa7210f570d1944ffd89b394a064c064fa373b69e69038926c66ab3a89f8c5e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling physical-quantity v0.0.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling combine v4.6.3 [INFO] [stderr] Compiling gcd v2.1.0 [INFO] [stderr] Compiling const-frac v0.0.4 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "0fa7210f570d1944ffd89b394a064c064fa373b69e69038926c66ab3a89f8c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fa7210f570d1944ffd89b394a064c064fa373b69e69038926c66ab3a89f8c5e", kill_on_drop: false }` [INFO] [stdout] 0fa7210f570d1944ffd89b394a064c064fa373b69e69038926c66ab3a89f8c5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfaf8b9dc2f2b992ffcc0c8e5161647ca5b0c097dffc22155806c790786a8664 [INFO] running `Command { std: "docker" "start" "-a" "dfaf8b9dc2f2b992ffcc0c8e5161647ca5b0c097dffc22155806c790786a8664", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling transition-table v0.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling disuse v0.0.2 [INFO] [stderr] Compiling physical-quantity v0.0.4 [INFO] [stderr] Compiling float-pretty-print v0.1.1 [INFO] [stderr] Compiling keyword-parser v0.0.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling const-frac v0.0.4 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling real-proc v0.0.3 [INFO] [stderr] Compiling const-array-attrs v0.0.3 [INFO] [stderr] Compiling physical-quantity v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0464]: multiple candidates for `rlib` dependency `physical_quantity` found [INFO] [stdout] --> examples/dump_default_def.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use physical_quantity::{ predefined::unit::DEFAULT_UNIT_DEF, Dimension, DynDim }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: candidate #1: /opt/rustwide/target/debug/deps/libphysical_quantity-4bdf892cf6184cac.rlib [INFO] [stdout] = note: candidate #2: /opt/rustwide/target/debug/deps/libphysical_quantity-64b339d8f7039df9.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/dump_default_def.rs:105:63 [INFO] [stdout] | [INFO] [stdout] 105 | order.push((*key, cnv.0.to_f64(), cnv.1.to_f64(), dim.dim_code())); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0464. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `physical-quantity` (example "dump_default_def") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `unit::Unit: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let u: Unit = "Da".parse().unwrap(); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `unit::Unit` [INFO] [stdout] --> src/unit.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Unit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] BigInt [INFO] [stdout] BigUint [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] Complex [INFO] [stdout] Frac [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] and 37 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `unit::Unit<_, _>: FromStr` is not satisfied [INFO] [stdout] --> src/unit.rs:434:50 [INFO] [stdout] | [INFO] [stdout] 434 | let u: Result, _> = "kg*m/s2".parse(); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `unit::Unit<_, _>` [INFO] [stdout] --> src/unit.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Unit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] BigInt [INFO] [stdout] BigUint [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] Complex [INFO] [stdout] Frac [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] and 37 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `unit::Unit: FromStr` is not satisfied [INFO] [stdout] --> src/lib.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | let u: Unit = "W m2 sr-1".parse().unwrap(); [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `FromStr` is not implemented for `unit::Unit` [INFO] [stdout] --> src/unit.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct Unit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `FromStr`: [INFO] [stdout] BigInt [INFO] [stdout] BigUint [INFO] [stdout] ByteString [INFO] [stdout] CString [INFO] [stdout] Complex [INFO] [stdout] Frac [INFO] [stdout] IpAddr [INFO] [stdout] Ipv4Addr [INFO] [stdout] and 37 others [INFO] [stdout] note: required by a bound in `core::str::::parse` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/str/mod.rs:2701:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let v1 = u.value(pq).unwrap(); [INFO] [stdout] | ^^^^^ multiple `value` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `unit::Unit>` [INFO] [stdout] --> src/unit.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn value(&self, pq: PhysicalQuantity>) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `unit::Unit` [INFO] [stdout] --> src/unit.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / pub fn value(&self, pq: PhysicalQuantity) -> Result [INFO] [stdout] 130 | | where [INFO] [stdout] 131 | | D: Dimension [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let float = u.value(pq).unwrap(); [INFO] [stdout] | ^^^^^ multiple `value` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `unit::Unit>` [INFO] [stdout] --> src/unit.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn value(&self, pq: PhysicalQuantity>) -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `unit::Unit` [INFO] [stdout] --> src/unit.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / pub fn value(&self, pq: PhysicalQuantity) -> Result [INFO] [stdout] 130 | | where [INFO] [stdout] 131 | | D: Dimension [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `physical-quantity` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "dfaf8b9dc2f2b992ffcc0c8e5161647ca5b0c097dffc22155806c790786a8664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfaf8b9dc2f2b992ffcc0c8e5161647ca5b0c097dffc22155806c790786a8664", kill_on_drop: false }` [INFO] [stdout] dfaf8b9dc2f2b992ffcc0c8e5161647ca5b0c097dffc22155806c790786a8664