solnic / virtus

[DISCONTINUED ] Attributes on Steroids for Plain Old Ruby Objects
MIT License
3.77k stars 229 forks source link

Spec failure on RBX with 1.9 mode #29

Closed solnic closed 12 years ago

solnic commented 13 years ago
Using worker: ruby3.worker.travis-ci.org:worker-5
2
3$ git clone --depth=1000 --quiet git://github.com/solnic/virtus.git solnic/virtus
4$ git checkout -qf af6a7cd38294e40306ff1e09980b00f6ffa85803
5$ rvm use rbx
6Using /home/vagrant/.rvm/gems/rbx-head
7$ export BUNDLE_GEMFILE=/home/vagrant/builds/solnic/virtus/Gemfile
8$ export RBXOPT="-X19"
9$ bundle install --without guard metrics
10Fetching git://github.com/dkubb/reek.git
11remote: Counting objects: 7204, done.
12remote: Compressing objects: 100% (1811/1811), done.[K
13remote: Total 7204 (delta 5288), reused 7167 (delta 5255)[K
14Receiving objects: 100% (7204/7204), 1006.40 KiB | 564 KiB/s, done.
15Resolving deltas: 100% (5288/5288), done.
16Fetching source index for http://rubygems.org/
17Using rake (0.9.2.2)
18Installing backports (2.3.0)
19Installing diff-lcs (1.1.3)
20Installing rspec-core (2.6.4)
21Installing rspec-expectations (2.6.0)
22Installing rspec-mocks (2.6.0)
23Installing rspec (2.6.0)
24Using virtus (0.10.0) from source at /home/vagrant/builds/solnic/virtus
25Using bundler (1.0.21)
26Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
27$ bundle exec rake spec
28/home/vagrant/.rvm/rubies/rbx-head/bin/rbx -S bundle exec rspec ./spec/integration/virtus/class_methods/attributes_spec.rb ./spec/integration/virtus/class_methods/const_missing_spec.rb ./spec/integration/virtus/class_methods/attribute_spec.rb ./spec/integration/virtus/attributes/attribute/set_spec.rb ./spec/unit/virtus/attribute/decimal_spec.rb ./spec/unit/virtus/attribute/date_time_spec.rb ./spec/unit/virtus/attribute/time_spec.rb ./spec/unit/virtus/attribute/boolean_spec.rb ./spec/unit/virtus/attribute/float_spec.rb ./spec/unit/virtus/attribute/date_spec.rb ./spec/unit/virtus/attribute/class_spec.rb ./spec/unit/virtus/attribute/hash_spec.rb ./spec/unit/virtus/attribute/string_spec.rb ./spec/unit/virtus/attribute/array_spec.rb ./spec/unit/virtus/attribute/integer_spec.rb ./spec/unit/virtus/type_lookup/determine_type_spec.rb ./spec/unit/virtus/type_lookup/primitive_spec.rb ./spec/unit/virtus/class_methods/attributes_spec.rb ./spec/unit/virtus/class_methods/new_spec.rb ./spec/unit/virtus/class_methods/attribute_spec.rb ./spec/unit/virtus/descendants_tracker/add_descendant_spec.rb ./spec/unit/virtus/descendants_tracker/descendants_spec.rb ./spec/unit/virtus/attribute_set/each_spec.rb ./spec/unit/virtus/attribute_set/merge_spec.rb ./spec/unit/virtus/attribute_set/reset_spec.rb ./spec/unit/virtus/attribute_set/parent_spec.rb ./spec/unit/virtus/attribute_set/append_spec.rb ./spec/unit/virtus/attribute_set/element_set_spec.rb ./spec/unit/virtus/attribute_set/element_reference_spec.rb ./spec/unit/virtus/coercion/class_name_reference_spec.rb ./spec/unit/virtus/instance_methods/attributes_spec.rb ./spec/unit/virtus/instance_methods/element_set_spec.rb ./spec/unit/virtus/instance_methods/element_reference_spec.rb ./spec/unit/virtus/options/options_spec.rb ./spec/unit/virtus/options/accepted_options_spec.rb ./spec/unit/virtus/options/accept_options_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_date_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_datetime_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_array_spec.rb ./spec/unit/virtus/coercion/float/class_methods/to_decimal_spec.rb ./spec/unit/virtus/coercion/float/class_methods/to_integer_spec.rb ./spec/unit/virtus/coercion/float/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/object/class_methods/method_missing_spec.rb ./spec/unit/virtus/coercion/false_class/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/date/class_methods/to_datetime_spec.rb ./spec/unit/virtus/coercion/date/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/date/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/decimal/class_methods/to_float_spec.rb ./spec/unit/virtus/coercion/decimal/class_methods/to_integer_spec.rb ./spec/unit/virtus/coercion/decimal/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_decimal_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_float_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_boolean_spec.rb ./spec/unit/virtus/coercion/symbol/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/true_class/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_date_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_decimal_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_datetime_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_float_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_integer_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_constant_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_boolean_spec.rb ./spec/unit/virtus/coercion/date_time/class_methods/to_date_spec.rb ./spec/unit/virtus/coercion/date_time/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/date_time/class_methods/to_string_spec.rb ./spec/unit/virtus/attribute/class_methods/determine_type_spec.rb ./spec/unit/virtus/attribute/default_value/class_methods/new_spec.rb ./spec/unit/virtus/attribute/default_value/instance_methods/evaluate_spec.rb ./spec/unit/virtus/attribute/object/class_methods/descendants_spec.rb ./spec/unit/virtus/attribute/numeric/class_methods/descendants_spec.rb
29An exception occurred running at_exit handlers
30undefined method `empty?' on nil:NilClass. (NoMethodError)
31
32Backtrace:
33  Kernel(NilClass)#empty? (method_missing) at kernel/delta/kernel.rb:79
34RSpec::Core::Configuration#configure_group at /home/vagrant/.rvm/gems
35/rbx-head/gems
36/rspec-core-2.6.4/lib
37/rspec/core
38/configuration.rb:403
39                            Array#each at kernel/bootstrap/array.rb:59
40RSpec::Core::Configuration#configure_group at /home/vagrant/.rvm/gems/rbx-head
41/gems/rspec-core-2.6.4/lib/rspec
42/core/configuration.rb:402
43RSpec::Core::World#configure_group at /home/vagrant/.rvm/gems/rbx-head/gems
44/rspec-core-2.6.4/lib/rspec/core
45/world.rb:62
46RSpec::Core::ExampleGroup.set_it_up at /home/vagrant/.rvm/gems/rbx-head/gems
47/rspec-core-2.6.4/lib/rspec/core
48/example_group.rb:184
49RSpec::Core::ExampleGroup.subclass at /home/vagrant/.rvm/gems/rbx-head/gems
50/rspec-core-2.6.4/lib/rspec/core
51/example_group.rb:141
52RSpec::Core::ExampleGroup.describe at /home/vagrant/.rvm/gems/rbx-head/gems
53/rspec-core-2.6.4/lib/rspec/core
54/example_group.rb:129
55RSpec::Core::DSL(Object)#describe at /home/vagrant/.rvm/gems/rbx-head/gems
56/rspec-core-2.6.4/lib/rspec/core
57/dsl.rb:5
58Object#__script__ at spec/unit/virtus/attribute
59/integer_spec.rb:3
60  Kernel(RSpec::Core::Configuration)#load at kernel/common/kernel.rb:621
61{ } in RSpec::Core::Configuration#load_spec_files at /home/vagrant/.rvm/gems
62/rbx-head/gems
63/rspec-core-2.6.4/lib
64/rspec/core
65/configuration.rb:419
66                             Array#map at kernel/bootstrap/array19.rb:16
67RSpec::Core::Configuration#load_spec_files at /home/vagrant/.rvm/gems/rbx-head
68/gems/rspec-core-2.6.4/lib/rspec
69/core/configuration.rb:419
70RSpec::Core::CommandLine#run at /home/vagrant/.rvm/gems/rbx-head/gems
71/rspec-core-2.6.4/lib/rspec/core
72/command_line.rb:18
73RSpec::Core::Runner.run_in_process at /home/vagrant/.rvm/gems/rbx-head/gems
74/rspec-core-2.6.4/lib/rspec/core
75/runner.rb:80
76RSpec::Core::Runner.run at /home/vagrant/.rvm/gems/rbx-head/gems
77/rspec-core-2.6.4/lib/rspec/core
78/runner.rb:69
79{ } in RSpec::Core::Runner.autorun at /home/vagrant/.rvm/gems/rbx-head/gems
80/rspec-core-2.6.4/lib/rspec/core
81/runner.rb:11
82         Rubinius::Loader#run_at_exits at kernel/loader.rb:659
83             Rubinius::Loader#epilogue at kernel/loader.rb:679
84                 Rubinius::Loader#main at kernel/loader.rb:809
85rake aborted!
86ruby -S bundle exec rspec ./spec/integration/virtus/class_methods/attributes_spec.rb ./spec/integration/virtus/class_methods/const_missing_spec.rb ./spec/integration/virtus/class_methods/attribute_spec.rb ./spec/integration/virtus/attributes/attribute/set_spec.rb ./spec/unit/virtus/attribute/decimal_spec.rb ./spec/unit/virtus/attribute/date_time_spec.rb ./spec/unit/virtus/attribute/time_spec.rb ./spec/unit/virtus/attribute/boolean_spec.rb ./spec/unit/virtus/attribute/float_spec.rb ./spec/unit/virtus/attribute/date_spec.rb ./spec/unit/virtus/attribute/class_spec.rb ./spec/unit/virtus/attribute/hash_spec.rb ./spec/unit/virtus/attribute/string_spec.rb ./spec/unit/virtus/attribute/array_spec.rb ./spec/unit/virtus/attribute/integer_spec.rb ./spec/unit/virtus/type_lookup/determine_type_spec.rb ./spec/unit/virtus/type_lookup/primitive_spec.rb ./spec/unit/virtus/class_methods/attributes_spec.rb ./spec/unit/virtus/class_methods/new_spec.rb ./spec/unit/virtus/class_methods/attribute_spec.rb ./spec/unit/virtus/descendants_tracker/add_descendant_spec.rb ./spec/unit/virtus/descendants_tracker/descendants_spec.rb ./spec/unit/virtus/attribute_set/each_spec.rb ./spec/unit/virtus/attribute_set/merge_spec.rb ./spec/unit/virtus/attribute_set/reset_spec.rb ./spec/unit/virtus/attribute_set/parent_spec.rb ./spec/unit/virtus/attribute_set/append_spec.rb ./spec/unit/virtus/attribute_set/element_set_spec.rb ./spec/unit/virtus/attribute_set/element_reference_spec.rb ./spec/unit/virtus/coercion/class_name_reference_spec.rb ./spec/unit/virtus/instance_methods/attributes_spec.rb ./spec/unit/virtus/instance_methods/element_set_spec.rb ./spec/unit/virtus/instance_methods/element_reference_spec.rb ./spec/unit/virtus/options/options_spec.rb ./spec/unit/virtus/options/accepted_options_spec.rb ./spec/unit/virtus/options/accept_options_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_date_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_datetime_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/hash/class_methods/to_array_spec.rb ./spec/unit/virtus/coercion/float/class_methods/to_decimal_spec.rb ./spec/unit/virtus/coercion/float/class_methods/to_integer_spec.rb ./spec/unit/virtus/coercion/float/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/object/class_methods/method_missing_spec.rb ./spec/unit/virtus/coercion/false_class/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/date/class_methods/to_datetime_spec.rb ./spec/unit/virtus/coercion/date/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/date/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/decimal/class_methods/to_float_spec.rb ./spec/unit/virtus/coercion/decimal/class_methods/to_integer_spec.rb ./spec/unit/virtus/coercion/decimal/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_decimal_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_float_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/integer/class_methods/to_boolean_spec.rb ./spec/unit/virtus/coercion/symbol/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/true_class/class_methods/to_string_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_date_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_decimal_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_datetime_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_float_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_integer_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_constant_spec.rb ./spec/unit/virtus/coercion/string/class_methods/to_boolean_spec.rb ./spec/unit/virtus/coercion/date_time/class_methods/to_date_spec.rb ./spec/unit/virtus/coercion/date_time/class_methods/to_time_spec.rb ./spec/unit/virtus/coercion/date_time/class_methods/to_string_spec.rb ./spec/unit/virtus/attribute/class_methods/determine_type_spec.rb ./spec/unit/virtus/attribute/default_value/class_methods/new_spec.rb ./spec/unit/virtus/attribute/default_value/instance_methods/evaluate_spec.rb ./spec/unit/virtus/attribute/object/class_methods/descendants_spec.rb ./spec/unit/virtus/attribute/numeric/class_methods/descendants_spec.rb failed
87
88Tasks: TOP => spec
89(See full trace by running task with --trace)
90
91Done. Build script exited with: 1
senny commented 12 years ago

it blows up when bundling so I guess this is a bundler issue. I could reproduce the error locally and I filed an issue on the bundler project. Progress at carlhuda/bundler#1536

solnic commented 12 years ago

ah good to know. I'll disable rbx build until this is fixed then. ty again :)